Debian Codegraph @

test/command/suite/select/drilldown/labeled/table/empty.expected

raw
1 table_create Tags TABLE_PAT_KEY ShortText
2 [[0,0.0,0.0],true]
3 column_create Tags category COLUMN_SCALAR ShortText
4 [[0,0.0,0.0],true]
5 table_create Memos TABLE_HASH_KEY ShortText
6 [[0,0.0,0.0],true]
7 column_create Memos tag COLUMN_SCALAR Tags
8 [[0,0.0,0.0],true]
9 load --table Memos
10 [
11 {"_key": "Groonga is fast!", "tag": "Groonga"},
12 {"_key": "Mroonga is fast!", "tag": "Mroonga"},
13 {"_key": "Groonga sticker!", "tag": "Groonga"},
14 {"_key": "Rroonga is fast!", "tag": "Rroonga"}
15 ]
16 [[0,0.0,0.0],4]
17 load --table Tags
18 [
19 {"_key": "Groonga", "category": "C/C++"},
20 {"_key": "Mroonga", "category": "C/C++"},
21 {"_key": "Rroonga", "category": "Ruby"}
22 ]
23 [[0,0.0,0.0],3]
24 select Memos --drilldown[category].table '' --drilldown[category].keys category --drilldown[category].output_columns _key,_nsubrecs --drilldown[tag].keys tag --drilldown[tag].output_columns _key,_nsubrecs,category
25 [
26 [
27 0,
28 0.0,
29 0.0
30 ],
31 [
32 [
33 [
34 4
35 ],
36 [
37 [
38 "_id",
39 "UInt32"
40 ],
41 [
42 "_key",
43 "ShortText"
44 ],
45 [
46 "tag",
47 "Tags"
48 ]
49 ],
50 [
51 1,
52 "Groonga is fast!",
53 "Groonga"
54 ],
55 [
56 2,
57 "Mroonga is fast!",
58 "Mroonga"
59 ],
60 [
61 3,
62 "Groonga sticker!",
63 "Groonga"
64 ],
65 [
66 4,
67 "Rroonga is fast!",
68 "Rroonga"
69 ]
70 ],
71 {
72 "tag": [
73 [
74 3
75 ],
76 [
77 [
78 "_key",
79 "ShortText"
80 ],
81 [
82 "_nsubrecs",
83 "Int32"
84 ],
85 [
86 "category",
87 "ShortText"
88 ]
89 ],
90 [
91 "Groonga",
92 2,
93 "C/C++"
94 ],
95 [
96 "Mroonga",
97 1,
98 "C/C++"
99 ],
100 [
101 "Rroonga",
102 1,
103 "Ruby"
104 ]
105 ]
106 }
107 ]
108 ]
109 #|w| [table-sort-key][string] ignore invalid sort key: <category>: table:<Memos> keys:<category>