Debian Codegraph @

test/command/suite/select/drilldowns/keys/expression/multiple.expected

raw
1 table_create Users TABLE_HASH_KEY ShortText
2 [[0,0.0,0.0],true]
3 column_create Users first_name COLUMN_SCALAR ShortText
4 [[0,0.0,0.0],true]
5 column_create Users last_name COLUMN_SCALAR ShortText
6 [[0,0.0,0.0],true]
7 column_create Users nickname COLUMN_SCALAR ShortText
8 [[0,0.0,0.0],true]
9 column_create Users age COLUMN_SCALAR UInt8
10 [[0,0.0,0.0],true]
11 load --table Users
12 [
13 {"_key": "alice1", "nickname": "My Alice", "age": 8},
14 {"_key": "alice2", "first_name": "My", "last_name": "Alice", "age": 8},
15 {"_key": "alice3", "nickname": "My Alice", "age": 10},
16 {"_key": "bob", "nickname": "Bob", "age": 20}
17 ]
18 [[0,0.0,0.0],4]
19 select Users --drilldowns[name].keys "nickname || first_name + ' ' + last_name, age" --drilldowns[name].output_columns "_key[0], _key[1], _nsubrecs"
20 [
21 [
22 0,
23 0.0,
24 0.0
25 ],
26 [
27 [
28 [
29 4
30 ],
31 [
32 [
33 "_id",
34 "UInt32"
35 ],
36 [
37 "_key",
38 "ShortText"
39 ],
40 [
41 "age",
42 "UInt8"
43 ],
44 [
45 "first_name",
46 "ShortText"
47 ],
48 [
49 "last_name",
50 "ShortText"
51 ],
52 [
53 "nickname",
54 "ShortText"
55 ]
56 ],
57 [
58 1,
59 "alice1",
60 8,
61 "",
62 "",
63 "My Alice"
64 ],
65 [
66 2,
67 "alice2",
68 8,
69 "My",
70 "Alice",
71 ""
72 ],
73 [
74 3,
75 "alice3",
76 10,
77 "",
78 "",
79 "My Alice"
80 ],
81 [
82 4,
83 "bob",
84 20,
85 "",
86 "",
87 "Bob"
88 ]
89 ],
90 {
91 "name": [
92 [
93 3
94 ],
95 [
96 [
97 "_key[0]",
98 null
99 ],
100 [
101 "_key[1]",
102 null
103 ],
104 [
105 "_nsubrecs",
106 "Int32"
107 ]
108 ],
109 [
110 "My Alice",
111 8,
112 2
113 ],
114 [
115 "My Alice",
116 10,
117 1
118 ],
119 [
120 "Bob",
121 20,
122 1
123 ]
124 ]
125 }
126 ]
127 ]