Debian Codegraph @

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