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

(let res_sink (DataSink 'result))
(let data (AsList (AsList (Uint32 '12))))
(let data (Append data (AsList (Int64 '34))))
(let lt (ListType (DataType 'Int64)))
(let data (Append data (List lt (Int64 '56))))
(let world (Write! world res_sink (Key) data '('('type))))
(let world (Commit! world res_sink))
(return world)
)