Debian Codegraph @

test/command/suite/sharding/logical_table_remove/range/min_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 13:49:00"},
37 {"timestamp": "2015-02-04 13:50:00"}
38 ]
39 [[0,0.0,0.0],3]
40 load --table Logs_20150205
41 [
42 {"timestamp": "2015-02-05 13:49:00"},
43 {"timestamp": "2015-02-05 13:50:00"},
44 {"timestamp": "2015-02-05 13:51:00"},
45 {"timestamp": "2015-02-05 13:52:00"}
46 ]
47 [[0,0.0,0.0],4]
48 logical_table_remove Logs timestamp --min "2015-02-04 00:00:00" --min_border "exclude"
49 [[0,0.0,0.0],true]
50 dump
51 plugin_register sharding
52
53 table_create Logs_20150203 TABLE_NO_KEY
54 column_create Logs_20150203 timestamp COLUMN_SCALAR Time
55
56 table_create Logs_20150204 TABLE_NO_KEY
57 column_create Logs_20150204 timestamp COLUMN_SCALAR Time
58
59 table_create Times_20150203 TABLE_PAT_KEY Time
60
61 table_create Times_20150204 TABLE_PAT_KEY Time
62
63 table_create Times_20150205 TABLE_PAT_KEY Time
64
65 load --table Logs_20150203
66 [
67 ["_id","timestamp"],
68 [1,1422935340.0],
69 [2,1422975599.0]
70 ]
71
72 load --table Logs_20150204
73 [
74 ["_id","timestamp"],
75 [1,1422975600.0]
76 ]
77
78 load --table Times_20150205
79 [
80 ["_key"],
81 [1423111740.0],
82 [1423111800.0],
83 [1423111860.0],
84 [1423111920.0]
85 ]
86
87 column_create Times_20150203 timestamp_index COLUMN_INDEX Logs_20150203 timestamp
88 column_create Times_20150204 timestamp_index COLUMN_INDEX Logs_20150204 timestamp