aboutsummaryrefslogtreecommitdiffstats
path: root/yql/essentials/tests/s-expressions/suites/YtNative/PureStructList.yql
blob: 0c6513f8c77df7f542d211b29cb4623eed3c11fa (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 data (AsList 
  (AsStruct '('b (Uint32 '1)) '('a (String 'a)) '('c (String 'DDD)))
  (AsStruct '('b (Uint32 '2)) '('a (String 'b)) '('c (String 'EEE)))
))
(let world (Write! world res_sink (Key) data '('('type))))
(let world (Commit! world res_sink))
(return world)
)