Debian Codegraph @

test/command/suite/sharding/logical_select/cache/drilldowns/table.expected

raw
1 plugin_register sharding
2 [[0,0.0,0.0],true]
3 table_create Logs_20150203 TABLE_NO_KEY
4 [[0,0.0,0.0],true]
5 column_create Logs_20150203 timestamp COLUMN_SCALAR Time
6 [[0,0.0,0.0],true]
7 column_create Logs_20150203 memo COLUMN_SCALAR ShortText
8 [[0,0.0,0.0],true]
9 column_create Logs_20150203 action COLUMN_SCALAR ShortText
10 [[0,0.0,0.0],true]
11 table_create Logs_20150204 TABLE_NO_KEY
12 [[0,0.0,0.0],true]
13 column_create Logs_20150204 timestamp COLUMN_SCALAR Time
14 [[0,0.0,0.0],true]
15 column_create Logs_20150204 memo COLUMN_SCALAR ShortText
16 [[0,0.0,0.0],true]
17 column_create Logs_20150204 action COLUMN_SCALAR ShortText
18 [[0,0.0,0.0],true]
19 table_create Logs_20150205 TABLE_NO_KEY
20 [[0,0.0,0.0],true]
21 column_create Logs_20150205 timestamp COLUMN_SCALAR Time
22 [[0,0.0,0.0],true]
23 column_create Logs_20150205 memo COLUMN_SCALAR ShortText
24 [[0,0.0,0.0],true]
25 column_create Logs_20150205 action COLUMN_SCALAR ShortText
26 [[0,0.0,0.0],true]
27 load --table Logs_20150203
28 [
29 {
30 "timestamp": "2015-02-03 12:49:00",
31 "memo": "2015-02-03 12:49:00",
32 "action": "Start"
33 },
34 {
35 "timestamp": "2015-02-03 23:59:59",
36 "memo": "2015-02-03 23:59:59",
37 "action": "Shutdown"
38 }
39 ]
40 [[0,0.0,0.0],2]
41 load --table Logs_20150204
42 [
43 {
44 "timestamp": "2015-02-04 00:00:00",
45 "memo": "2015-02-04 00:00:00",
46 "action": "Start"
47 },
48 {
49 "timestamp": "2015-02-04 13:49:00",
50 "memo": "2015-02-04 13:49:00",
51 "action": "Restart"
52 },
53 {
54 "timestamp": "2015-02-04 13:50:00",
55 "memo": "2015-02-04 13:50:00",
56 "action": "Restart"
57 }
58 ]
59 [[0,0.0,0.0],3]
60 load --table Logs_20150205
61 [
62 {
63 "timestamp": "2015-02-05 13:49:00",
64 "memo": "2015-02-05 13:49:00",
65 "action": "Restart"
66 },
67 {
68 "timestamp": "2015-02-05 13:50:00",
69 "memo": "2015-02-05 13:50:00",
70 "action": "Restart"
71 },
72 {
73 "timestamp": "2015-02-05 13:51:00",
74 "memo": "2015-02-05 13:51:00",
75 "action": "Restart"
76 },
77 {
78 "timestamp": "2015-02-05 13:52:00",
79 "memo": "2015-02-05 13:52:00",
80 "action": "Shutdown"
81 }
82 ]
83 [[0,0.0,0.0],4]
84 logical_select Logs --shard_key timestamp --limit 0 --output_columns _id --drilldowns[action].table restart --drilldowns[action].keys _key --drilldowns[restart].stage initial --drilldowns[restart].keys 'action' --drilldowns[restart].filter "_key @ 'Restart'" --drilldowns[restart].output_columns _key --drilldowns[start].stage initial --drilldowns[start].keys 'action' --drilldowns[start].filter "_key @ 'Start'" --drilldowns[start].output_columns _key
85 [
86 [
87 0,
88 0.0,
89 0.0
90 ],
91 [
92 [
93 [
94 9
95 ],
96 [
97 [
98 "_id",
99 "UInt32"
100 ]
101 ]
102 ],
103 {
104 "action": [
105 [
106 1
107 ],
108 [
109 [
110 "_key",
111 "ShortText"
112 ],
113 [
114 "_nsubrecs",
115 "Int32"
116 ]
117 ],
118 [
119 "Restart",
120 1
121 ]
122 ],
123 "restart": [
124 [
125 1
126 ],
127 [
128 [
129 "_key",
130 "ShortText"
131 ]
132 ],
133 [
134 "Restart"
135 ]
136 ],
137 "start": [
138 [
139 2
140 ],
141 [
142 [
143 "_key",
144 "ShortText"
145 ]
146 ],
147 [
148 "Start"
149 ],
150 [
151 "Restart"
152 ]
153 ]
154 }
155 ]
156 ]
157 #>logical_select --drilldowns[action].keys "_key" --drilldowns[action].table "restart" --drilldowns[restart].filter "_key @ 'Restart'" --drilldowns[restart].keys "action" --drilldowns[restart].output_columns "_key" --drilldowns[restart].stage "initial" --drilldowns[start].filter "_key @ 'Start'" --drilldowns[start].keys "action" --drilldowns[start].output_columns "_key" --drilldowns[start].stage "initial" --limit "0" --logical_table "Logs" --output_columns "_id" --shard_key "timestamp"
158 #:000000000000000 select(2)[Logs_20150203]
159 #:000000000000000 select(3)[Logs_20150204]
160 #:000000000000000 select(4)[Logs_20150205]
161 #:000000000000000 drilldowns[restart](3)
162 #:000000000000000 filter(1): #<accessor _key(anonymous)> match "Restart"
163 #:000000000000000 drilldowns[restart].filter(1)
164 #:000000000000000 drilldowns[action](1)
165 #:000000000000000 drilldowns[start](3)
166 #:000000000000000 filter(2): #<accessor _key(anonymous)> match "Start"
167 #:000000000000000 drilldowns[start].filter(2)
168 #:000000000000000 output(0)
169 #:000000000000000 output.drilldowns[action](1)
170 #:000000000000000 output.drilldowns[restart](1)
171 #:000000000000000 output.drilldowns[start](2)
172 #:000000000000000 send(0)
173 #<000000000000000 rc=0
174 logical_select Logs --shard_key timestamp --limit 0 --output_columns _id --drilldowns[action].table start --drilldowns[action].keys _key --drilldowns[restart].stage initial --drilldowns[restart].keys 'action' --drilldowns[restart].filter "_key @ 'Restart'" --drilldowns[restart].output_columns _key --drilldowns[start].stage initial --drilldowns[start].keys 'action' --drilldowns[start].filter "_key @ 'Start'" --drilldowns[start].output_columns _key
175 [
176 [
177 0,
178 0.0,
179 0.0
180 ],
181 [
182 [
183 [
184 9
185 ],
186 [
187 [
188 "_id",
189 "UInt32"
190 ]
191 ]
192 ],
193 {
194 "action": [
195 [
196 2
197 ],
198 [
199 [
200 "_key",
201 "ShortText"
202 ],
203 [
204 "_nsubrecs",
205 "Int32"
206 ]
207 ],
208 [
209 "Start",
210 1
211 ],
212 [
213 "Restart",
214 1
215 ]
216 ],
217 "restart": [
218 [
219 1
220 ],
221 [
222 [
223 "_key",
224 "ShortText"
225 ]
226 ],
227 [
228 "Restart"
229 ]
230 ],
231 "start": [
232 [
233 2
234 ],
235 [
236 [
237 "_key",
238 "ShortText"
239 ]
240 ],
241 [
242 "Start"
243 ],
244 [
245 "Restart"
246 ]
247 ]
248 }
249 ]
250 ]
251 #>logical_select --drilldowns[action].keys "_key" --drilldowns[action].table "start" --drilldowns[restart].filter "_key @ 'Restart'" --drilldowns[restart].keys "action" --drilldowns[restart].output_columns "_key" --drilldowns[restart].stage "initial" --drilldowns[start].filter "_key @ 'Start'" --drilldowns[start].keys "action" --drilldowns[start].output_columns "_key" --drilldowns[start].stage "initial" --limit "0" --logical_table "Logs" --output_columns "_id" --shard_key "timestamp"
252 #:000000000000000 select(2)[Logs_20150203]
253 #:000000000000000 select(3)[Logs_20150204]
254 #:000000000000000 select(4)[Logs_20150205]
255 #:000000000000000 drilldowns[start](3)
256 #:000000000000000 filter(2): #<accessor _key(anonymous)> match "Start"
257 #:000000000000000 drilldowns[start].filter(2)
258 #:000000000000000 drilldowns[action](2)
259 #:000000000000000 drilldowns[restart](3)
260 #:000000000000000 filter(1): #<accessor _key(anonymous)> match "Restart"
261 #:000000000000000 drilldowns[restart].filter(1)
262 #:000000000000000 output(0)
263 #:000000000000000 output.drilldowns[action](2)
264 #:000000000000000 output.drilldowns[restart](1)
265 #:000000000000000 output.drilldowns[start](2)
266 #:000000000000000 send(0)
267 #<000000000000000 rc=0