Debian Codegraph @

test/command/suite/select/drilldown/plain/multiple.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 column_create Memos date COLUMN_SCALAR ShortText
8 [[0,0.0,0.0],true]
9 load --table Memos
10 [
11 {"_key": "groonga is fast!", "tag": "groonga", "date": "2013-06-21"},
12 {"_key": "mroonga is fast!", "tag": "mroonga", "date": "2013-06-21"},
13 {"_key": "groonga sticker!", "tag": "groonga", "date": "2013-06-22"},
14 {"_key": "rroonga is fast!", "tag": "rroonga", "date": "2013-06-23"}
15 ]
16 [[0,0.0,0.0],4]
17 select Memos --drilldown tag,date
18 [
19 [
20 0,
21 0.0,
22 0.0
23 ],
24 [
25 [
26 [
27 4
28 ],
29 [
30 [
31 "_id",
32 "UInt32"
33 ],
34 [
35 "_key",
36 "ShortText"
37 ],
38 [
39 "date",
40 "ShortText"
41 ],
42 [
43 "tag",
44 "Tags"
45 ]
46 ],
47 [
48 1,
49 "groonga is fast!",
50 "2013-06-21",
51 "groonga"
52 ],
53 [
54 2,
55 "mroonga is fast!",
56 "2013-06-21",
57 "mroonga"
58 ],
59 [
60 3,
61 "groonga sticker!",
62 "2013-06-22",
63 "groonga"
64 ],
65 [
66 4,
67 "rroonga is fast!",
68 "2013-06-23",
69 "rroonga"
70 ]
71 ],
72 [
73 [
74 3
75 ],
76 [
77 [
78 "_key",
79 "ShortText"
80 ],
81 [
82 "_nsubrecs",
83 "Int32"
84 ]
85 ],
86 [
87 "groonga",
88 2
89 ],
90 [
91 "mroonga",
92 1
93 ],
94 [
95 "rroonga",
96 1
97 ]
98 ],
99 [
100 [
101 3
102 ],
103 [
104 [
105 "_key",
106 "ShortText"
107 ],
108 [
109 "_nsubrecs",
110 "Int32"
111 ]
112 ],
113 [
114 "2013-06-21",
115 2
116 ],
117 [
118 "2013-06-22",
119 1
120 ],
121 [
122 "2013-06-23",
123 1
124 ]
125 ]
126 ]
127 ]