Debian Codegraph @

test/command/suite/select/output_columns/vector/reference/column/json.expected

raw
1 table_create Users TABLE_HASH_KEY ShortText
2 [[0,0.0,0.0],true]
3 column_create Users full_name COLUMN_SCALAR ShortText
4 [[0,0.0,0.0],true]
5 table_create Bookmarks TABLE_HASH_KEY ShortText
6 [[0,0.0,0.0],true]
7 column_create Bookmarks users COLUMN_VECTOR Users
8 [[0,0.0,0.0],true]
9 load --table Users
10 [
11 {"_key": "mori", "full_name": "Daijiro MORI"},
12 {"_key": "s-yata", "full_name": "Susumu Yata"}
13 ]
14 [[0,0.0,0.0],2]
15 load --table Bookmarks
16 [
17 {"_key": "http://groonga.org/", "users": ["mori", "s-yata"]}
18 ]
19 [[0,0.0,0.0],1]
20 select Bookmarks --output_columns _key,users.full_name
21 [
22 [
23 0,
24 0.0,
25 0.0
26 ],
27 [
28 [
29 [
30 1
31 ],
32 [
33 [
34 "_key",
35 "ShortText"
36 ],
37 [
38 "users.full_name",
39 "ShortText"
40 ]
41 ],
42 [
43 "http://groonga.org/",
44 [
45 "Daijiro MORI",
46 "Susumu Yata"
47 ]
48 ]
49 ]
50 ]
51 ]