Debian Codegraph @

test/command/suite/select/drilldown/plain/command_version/3/no_conditions.expected

raw
1 table_create Tags TABLE_PAT_KEY ShortText
2 [[0,0.0,0.0],true]
3 table_create Memos TABLE_HASH_KEY ShortText
4 [[0,0.0,0.0],true]
5 column_create Memos tag COLUMN_SCALAR Tags
6 [[0,0.0,0.0],true]
7 load --table Memos
8 [
9 {"_key": "groonga is fast!", "tag": "groonga"},
10 {"_key": "mroonga is fast!", "tag": "mroonga"},
11 {"_key": "groonga sticker!", "tag": "groonga"},
12 {"_key": "rroonga is fast!", "tag": "rroonga"}
13 ]
14 [[0,0.0,0.0],4]
15 select Memos --drilldown tag --command_version 3
16 {
17 "header": {
18 "return_code": 0,
19 "start_time": 0.0,
20 "elapsed_time": 0.0
21 },
22 "body": {
23 "n_hits": 4,
24 "columns": [
25 {
26 "name": "_id",
27 "type": "UInt32"
28 },
29 {
30 "name": "_key",
31 "type": "ShortText"
32 },
33 {
34 "name": "tag",
35 "type": "Tags"
36 }
37 ],
38 "records": [
39 [
40 1,
41 "groonga is fast!",
42 "groonga"
43 ],
44 [
45 2,
46 "mroonga is fast!",
47 "mroonga"
48 ],
49 [
50 3,
51 "groonga sticker!",
52 "groonga"
53 ],
54 [
55 4,
56 "rroonga is fast!",
57 "rroonga"
58 ]
59 ],
60 "drilldowns": {
61 "tag": {
62 "n_hits": 3,
63 "columns": [
64 {
65 "name": "_key",
66 "type": "ShortText"
67 },
68 {
69 "name": "_nsubrecs",
70 "type": "Int32"
71 }
72 ],
73 "records": [
74 [
75 "groonga",
76 2
77 ],
78 [
79 "mroonga",
80 1
81 ],
82 [
83 "rroonga",
84 1
85 ]
86 ]
87 }
88 }
89 }
90 }