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

(let res_sink (DataSink 'result))
(let data (Coalesce (AsStruct '('"a" (Int32 '1))) (AsStruct)))
(let world (Write! world res_sink (Key) data '('('type))))
(let world (Commit! world res_sink))
(return world)
)