Debian Codegraph @

test/command/suite/select/drilldowns/keys/index/nested/vector.expected

raw
1 table_create Tags TABLE_HASH_KEY ShortText
2 [[0,0.0,0.0],true]
3 table_create Products TABLE_PAT_KEY ShortText
4 [[0,0.0,0.0],true]
5 table_create Purchases TABLE_NO_KEY
6 [[0,0.0,0.0],true]
7 column_create Purchases product COLUMN_SCALAR Products
8 [[0,0.0,0.0],true]
9 column_create Purchases tags COLUMN_VECTOR Tags
10 [[0,0.0,0.0],true]
11 column_create Products purchases COLUMN_INDEX Purchases product
12 [[0,0.0,0.0],true]
13 load --table Products
14 [
15 {"_key": "apple"},
16 {"_key": "banana"},
17 {"_key": "cacao"}
18 ]
19 [[0,0.0,0.0],3]
20 load --table Purchases
21 [
22 {"product": "apple", "tags": ["man", "one"]},
23 {"product": "banana", "tags": ["man", "many"]},
24 {"product": "cacao", "tags": ["woman"]},
25 {"product": "apple", "tags": ["child", "many"]}
26 ]
27 [[0,0.0,0.0],4]
28 select Products --drilldowns[tag].keys purchases.tags
29 [
30 [
31 0,
32 0.0,
33 0.0
34 ],
35 [
36 [
37 [
38 3
39 ],
40 [
41 [
42 "_id",
43 "UInt32"
44 ],
45 [
46 "_key",
47 "ShortText"
48 ],
49 [
50 "purchases",
51 "UInt32"
52 ]
53 ],
54 [
55 1,
56 "apple",
57 4
58 ],
59 [
60 2,
61 "banana",
62 1
63 ],
64 [
65 3,
66 "cacao",
67 1
68 ]
69 ],
70 {
71 "tag": [
72 [
73 5
74 ],
75 [
76 [
77 "_key",
78 "ShortText"
79 ],
80 [
81 "_nsubrecs",
82 "Int32"
83 ]
84 ],
85 [
86 "man",
87 2
88 ],
89 [
90 "one",
91 1
92 ],
93 [
94 "child",
95 1
96 ],
97 [
98 "many",
99 2
100 ],
101 [
102 "woman",
103 1
104 ]
105 ]
106 }
107 ]
108 ]