Debian Codegraph @

test/command/suite/sharding/logical_table_remove/referenced/dependent.expected

raw
1 plugin_register sharding
2 [[0,0.0,0.0],true]
3 table_create Paths_20150203 TABLE_HASH_KEY|KEY_LARGE ShortText
4 [[0,0.0,0.0],true]
5 table_create Logs_20150203 TABLE_NO_KEY
6 [[0,0.0,0.0],true]
7 column_create Logs_20150203 timestamp COLUMN_SCALAR Time
8 [[0,0.0,0.0],true]
9 column_create Logs_20150203 path COLUMN_SCALAR Paths_20150203
10 [[0,0.0,0.0],true]
11 column_create Logs_20150203 links COLUMN_VECTOR Paths_20150203
12 [[0,0.0,0.0],true]
13 table_create Times_20150203 TABLE_PAT_KEY Time
14 [[0,0.0,0.0],true]
15 column_create Times_20150203 timestamp_index COLUMN_INDEX Logs_20150203 timestamp
16 [[0,0.0,0.0],true]
17 table_create PathTerms_20150203 TABLE_PAT_KEY ShortText --default_tokenizer TokenBigram --normalizer NormalizerAuto
18 [[0,0.0,0.0],true]
19 column_create PathTerms_20150203 index COLUMN_INDEX|WITH_POSITION Paths_20150203 _key
20 [[0,0.0,0.0],true]
21 table_create NotRelated_20150204 TABLE_NO_KEY
22 [[0,0.0,0.0],true]
23 table_create Paths_20150204 TABLE_HASH_KEY|KEY_LARGE ShortText
24 [[0,0.0,0.0],true]
25 table_create Logs_20150204 TABLE_NO_KEY
26 [[0,0.0,0.0],true]
27 column_create Logs_20150204 timestamp COLUMN_SCALAR Time
28 [[0,0.0,0.0],true]
29 column_create Logs_20150204 path COLUMN_SCALAR Paths_20150204
30 [[0,0.0,0.0],true]
31 column_create Logs_20150204 links COLUMN_VECTOR Paths_20150204
32 [[0,0.0,0.0],true]
33 table_create Times_20150204 TABLE_PAT_KEY Time
34 [[0,0.0,0.0],true]
35 column_create Times_20150204 timestamp_index COLUMN_INDEX Logs_20150204 timestamp
36 [[0,0.0,0.0],true]
37 table_create PathTerms_20150204 TABLE_PAT_KEY ShortText --default_tokenizer TokenBigram --normalizer NormalizerAuto
38 [[0,0.0,0.0],true]
39 column_create PathTerms_20150204 index COLUMN_INDEX|WITH_POSITION Paths_20150204 _key
40 [[0,0.0,0.0],true]
41 load --table Logs_20150203
42 [
43 {"timestamp": "2015-02-03 12:49:00", "path": "/tmp/log", "links": []},
44 {"timestamp": "2015-02-03 23:59:59", "path": "/var/", "links": []}
45 ]
46 [[0,0.0,0.0],2]
47 load --table Logs_20150204
48 [
49 {"timestamp": "2015-02-04 00:00:00", "path": "/tmp/log", "links": []},
50 {"timestamp": "2015-02-04 13:49:00", "path": "/root/", "links": []},
51 {"timestamp": "2015-02-04 13:50:00", "path": "/etc/aliases", "links": []}
52 ]
53 [[0,0.0,0.0],3]
54 logical_table_remove Logs timestamp --min "2015-02-04 00:00:00" --min_border "include" --dependent yes
55 [[0,0.0,0.0],true]
56 dump
57 plugin_register sharding
58
59 table_create Logs_20150203 TABLE_NO_KEY
60 column_create Logs_20150203 timestamp COLUMN_SCALAR Time
61
62 table_create NotRelated_20150204 TABLE_NO_KEY
63
64 table_create PathTerms_20150203 TABLE_PAT_KEY ShortText --default_tokenizer TokenBigram --normalizer NormalizerAuto
65
66 table_create Paths_20150203 TABLE_HASH_KEY|KEY_LARGE ShortText
67
68 table_create Times_20150203 TABLE_PAT_KEY Time
69
70 column_create Logs_20150203 links COLUMN_VECTOR Paths_20150203
71 column_create Logs_20150203 path COLUMN_SCALAR Paths_20150203
72
73 load --table Paths_20150203
74 [
75 ["_key"],
76 ["/tmp/log"],
77 ["/var/"]
78 ]
79
80 load --table Logs_20150203
81 [
82 ["_id","links","path","timestamp"],
83 [1,[],"/tmp/log",1422935340.0],
84 [2,[],"/var/",1422975599.0]
85 ]
86
87 column_create PathTerms_20150203 index COLUMN_INDEX|WITH_POSITION Paths_20150203 _key
88 column_create Times_20150203 timestamp_index COLUMN_INDEX Logs_20150203 timestamp