aboutsummaryrefslogtreecommitdiffstats
path: root/yql/essentials/tests/s-expressions/suites/Result/Yson.yql
blob: f978241cfc4c8aa0a514d727cf61b1b6f5da8d29 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
(
#comment
(let config (DataSource 'config))
(let world (Configure! world config 'PureDataSource 'yt))

(let res_sink (DataSink 'result))
(let data (Yson '@@
{
"a"=1;
"$b"=#;
"c"=2u;
"d"=4.1;
"e"=%true;
"f"=[1;<x=1>"english text"];
"g"=<u=2>{x=<v="\xff\xff binary">[];y="русский текст"};
}
@@))
(let world (Write! world res_sink (Key) data '()))
(let world (Commit! world res_sink))
(return world)
)