aboutsummaryrefslogtreecommitdiffstats
path: root/yql/essentials/tests/s-expressions/suites/InMem/ReplaceMember.yql
blob: bb7203c50211591c1e3912ae10408f21607a1228 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
(
#comment
(let config (DataSource 'config))
(let world (Configure! world config 'PureDataSource 'yt))

(let res_sink (DataSink 'result))
(let s (AsStruct '('a (String 'ccc)) '('b (Double '3.5))))
(let world (Write! world res_sink (Key) (ReplaceMember s 'a (Int32 '7)) '('('type))))
(let world (Write! world res_sink (Key) (ReplaceMember s 'b (String 'aaa)) '('('type))))

(let world (Commit! world res_sink))
(return world)
)