Debian Codegraph @

test/command/suite/load/json/object/string.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": "{\"embedded\": \"X\"}"},
8 {"data": "{\"not embedded\": \"hello\"}"}
9 ]
10 [[0,0.0,0.0],2]
11 select Notes
12 [
13 [
14 0,
15 0.0,
16 0.0
17 ],
18 [
19 [
20 [
21 2
22 ],
23 [
24 [
25 "_id",
26 "UInt32"
27 ],
28 [
29 "data",
30 "JSON"
31 ]
32 ],
33 [
34 1,
35 {
36 "embedded": "X"
37 }
38 ],
39 [
40 2,
41 {
42 "not embedded": "hello"
43 }
44 ]
45 ]
46 ]
47 ]
48 dump
49 table_create Notes TABLE_NO_KEY
50 column_create Notes data COLUMN_SCALAR JSON
51
52 load --table Notes
53 [
54 ["_id","data"],
55 [1,"{\"embedded\":\"X\"}"],
56 [2,"{\"not embedded\":\"hello\"}"]
57 ]