Debian Codegraph @

test/command/suite/sharding/logical_table_remove/range/min_include_max_exclude.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 table_create Times_20150203 TABLE_PAT_KEY Time
8 [[0,0.0,0.0],true]
9 column_create Times_20150203 timestamp_index COLUMN_INDEX Logs_20150203 timestamp
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 table_create Times_20150204 TABLE_PAT_KEY Time
16 [[0,0.0,0.0],true]
17 column_create Times_20150204 timestamp_index COLUMN_INDEX Logs_20150204 timestamp
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 table_create Times_20150205 TABLE_PAT_KEY Time
24 [[0,0.0,0.0],true]
25 column_create Times_20150205 timestamp_index COLUMN_INDEX Logs_20150205 timestamp
26 [[0,0.0,0.0],true]
27 load --table Logs_20150203
28 [
29 {"timestamp": "2015-02-03 12:49:00"},
30 {"timestamp": "2015-02-03 23:59:59"}
31 ]
32 [[0,0.0,0.0],2]
33 load --table Logs_20150204
34 [
35 {"timestamp": "2015-02-04 00:00:00"},
36 {"timestamp": "2015-02-04 00:00:01"},
37 {"timestamp": "2015-02-04 13:49:00"},
38 {"timestamp": "2015-02-04 13:50:00"},
39 {"timestamp": "2015-02-04 23:59:59"}
40 ]
41 [[0,0.0,0.0],5]
42 load --table Logs_20150205
43 [
44 {"timestamp": "2015-02-05 00:00:00"},
45 {"timestamp": "2015-02-05 13:49:00"},
46 {"timestamp": "2015-02-05 13:50:00"},
47 {"timestamp": "2015-02-05 13:51:00"},
48 {"timestamp": "2015-02-05 13:52:00"},
49 {"timestamp": "2015-02-05 13:53:00"}
50 ]
51 [[0,0.0,0.0],6]
52 logical_table_remove Logs timestamp --min "2015-02-04 00:00:00" --min_border "include" --max "2015-02-05 00:00:00" --max_border "exclude"
53 [[0,0.0,0.0],true]
54 dump
55 plugin_register sharding
56
57 table_create Logs_20150203 TABLE_NO_KEY
58 column_create Logs_20150203 timestamp COLUMN_SCALAR Time
59
60 table_create Logs_20150205 TABLE_NO_KEY
61 column_create Logs_20150205 timestamp COLUMN_SCALAR Time
62
63 table_create Times_20150203 TABLE_PAT_KEY Time
64
65 table_create Times_20150204 TABLE_PAT_KEY Time
66
67 table_create Times_20150205 TABLE_PAT_KEY Time
68
69 load --table Logs_20150203
70 [
71 ["_id","timestamp"],
72 [1,1422935340.0],
73 [2,1422975599.0]
74 ]
75
76 load --table Logs_20150205
77 [
78 ["_id","timestamp"],
79 [1,1423062000.0],
80 [2,1423111740.0],
81 [3,1423111800.0],
82 [4,1423111860.0],
83 [5,1423111920.0],
84 [6,1423111980.0]
85 ]
86
87 load --table Times_20150204
88 [
89 ["_key"],
90 [1422975600.0],
91 [1422975601.0],
92 [1423025340.0],
93 [1423025400.0],
94 [1423061999.0]
95 ]
96
97 column_create Times_20150203 timestamp_index COLUMN_INDEX Logs_20150203 timestamp
98 column_create Times_20150205 timestamp_index COLUMN_INDEX Logs_20150205 timestamp