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

(let res_sink (DataSink 'result))
(let data (Uint64 '1))
(let data (If (Bool 'true) data (Double '2)))
(let world (Write! world res_sink (Key) data '('('type))))
(let world (Commit! world res_sink))
(return world)
)