Debian Codegraph @

test/command/suite/sharding/logical_table_remove/range/min_exclude_max_include.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 "exclude" --max "2015-02-05 00:00:00" --max_border "include"
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_20150204 TABLE_NO_KEY
61 column_create Logs_20150204 timestamp COLUMN_SCALAR Time
62
63 table_create Logs_20150205 TABLE_NO_KEY
64 column_create Logs_20150205 timestamp COLUMN_SCALAR Time
65
66 table_create Times_20150203 TABLE_PAT_KEY Time
67
68 table_create Times_20150204 TABLE_PAT_KEY Time
69
70 table_create Times_20150205 TABLE_PAT_KEY Time
71
72 load --table Logs_20150203
73 [
74 ["_id","timestamp"],
75 [1,1422935340.0],
76 [2,1422975599.0]
77 ]
78
79 load --table Logs_20150204
80 [
81 ["_id","timestamp"],
82 [1,1422975600.0]
83 ]
84
85 load --table Logs_20150205
86 [
87 ["_id","timestamp"],
88 [],
89 [2,1423111740.0],
90 [3,1423111800.0],
91 [4,1423111860.0],
92 [5,1423111920.0],
93 [6,1423111980.0]
94 ]
95 delete --table Logs_20150205 --id 1
96
97 column_create Times_20150203 timestamp_index COLUMN_INDEX Logs_20150203 timestamp
98 column_create Times_20150204 timestamp_index COLUMN_INDEX Logs_20150204 timestamp
99 column_create Times_20150205 timestamp_index COLUMN_INDEX Logs_20150205 timestamp