Debian Codegraph @

test/command/suite/select/drilldown/plain/expression/one.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 load --table Users
10 [
11 {"_key": "alice1", "nickname": "My Alice"},
12 {"_key": "alice2", "first_name": "My", "last_name": "Alice"},
13 {"_key": "bob", "nickname": "Bob"}
14 ]
15 [[0,0.0,0.0],3]
16 select Users --drilldown "nickname || first_name + ' ' + last_name"
17 [
18 [
19 0,
20 0.0,
21 0.0
22 ],
23 [
24 [
25 [
26 3
27 ],
28 [
29 [
30 "_id",
31 "UInt32"
32 ],
33 [
34 "_key",
35 "ShortText"
36 ],
37 [
38 "first_name",
39 "ShortText"
40 ],
41 [
42 "last_name",
43 "ShortText"
44 ],
45 [
46 "nickname",
47 "ShortText"
48 ]
49 ],
50 [
51 1,
52 "alice1",
53 "",
54 "",
55 "My Alice"
56 ],
57 [
58 2,
59 "alice2",
60 "My",
61 "Alice",
62 ""
63 ],
64 [
65 3,
66 "bob",
67 "",
68 "",
69 "Bob"
70 ]
71 ],
72 [
73 [
74 2
75 ],
76 [
77 [
78 "_key",
79 "ShortText"
80 ],
81 [
82 "_nsubrecs",
83 "Int32"
84 ]
85 ],
86 [
87 "My Alice",
88 2
89 ],
90 [
91 "Bob",
92 1
93 ]
94 ]
95 ]
96 ]