Debian Codegraph @

test/command/suite/load/json/array/nested.expected

raw
1 table_create Notes TABLE_NO_KEY
2 [[0,0.0,0.0],true]
3 column_create Notes data COLUMN_SCALAR JSON
4 [[0,0.0,0.0],true]
5 load --table Notes
6 [
7 {"data": "[true,[false,null,[-1,1,2.9],[\"string\"],null],{\"string\":\"world\",\"sub_array\":[null,{\"sub_object\":false},[\"sub_string\",-2.9]],\"integer\":-29},false]"}
8 ]
9 [[0,0.0,0.0],1]
10 select Notes
11 [
12 [
13 0,
14 0.0,
15 0.0
16 ],
17 [
18 [
19 [
20 1
21 ],
22 [
23 [
24 "_id",
25 "UInt32"
26 ],
27 [
28 "data",
29 "JSON"
30 ]
31 ],
32 [
33 1,
34 [
35 true,
36 [
37 false,
38 null,
39 [
40 -1,
41 1,
42 2.9
43 ],
44 [
45 "string"
46 ],
47 null
48 ],
49 {
50 "string": "world",
51 "sub_array": [
52 null,
53 {
54 "sub_object": false
55 },
56 [
57 "sub_string",
58 -2.9
59 ]
60 ],
61 "integer": -29
62 },
63 false
64 ]
65 ]
66 ]
67 ]
68 ]
69 dump
70 table_create Notes TABLE_NO_KEY
71 column_create Notes data COLUMN_SCALAR JSON
72
73 load --table Notes
74 [
75 ["_id","data"],
76 [1,"[true,[false,null,[-1,1,2.9],[\"string\"],null],{\"string\":\"world\",\"sub_array\":[null,{\"sub_object\":false},[\"sub_string\",-2.9]],\"integer\":-29},false]"]
77 ]