Debian Codegraph @

test/command/suite/sharding/logical_table_remove/broken/index_column/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 table_create Times_20150203 TABLE_PAT_KEY Time
12 [[0,0.0,0.0],true]
13 column_create Times_20150203 timestamp_index COLUMN_INDEX Logs_20150203 timestamp
14 [[0,0.0,0.0],true]
15 table_create PathTerms_20150203 TABLE_PAT_KEY ShortText --default_tokenizer TokenBigram --normalizer NormalizerAuto
16 [[0,0.0,0.0],true]
17 column_create PathTerms_20150203 index COLUMN_INDEX|WITH_POSITION Paths_20150203 _key
18 [[0,0.0,0.0],true]
19 table_create NotRelated_20150204 TABLE_NO_KEY
20 [[0,0.0,0.0],true]
21 table_create Paths_20150204 TABLE_HASH_KEY|KEY_LARGE ShortText
22 [[0,0.0,0.0],true]
23 table_create Logs_20150204 TABLE_NO_KEY
24 [[0,0.0,0.0],true]
25 column_create Logs_20150204 timestamp COLUMN_SCALAR Time
26 [[0,0.0,0.0],true]
27 column_create Logs_20150204 path COLUMN_SCALAR Paths_20150204
28 [[0,0.0,0.0],true]
29 table_create Times_20150204 TABLE_PAT_KEY Time
30 [[0,0.0,0.0],true]
31 column_create Times_20150204 timestamp_index COLUMN_INDEX Logs_20150204 timestamp
32 [[0,0.0,0.0],true]
33 table_create PathTerms_20150204 TABLE_PAT_KEY ShortText --default_tokenizer TokenBigram --normalizer NormalizerAuto
34 [[0,0.0,0.0],true]
35 column_create PathTerms_20150204 index COLUMN_INDEX|WITH_POSITION Paths_20150204 _key
36 [[0,0.0,0.0],true]
37 load --table Logs_20150203
38 [
39 {"timestamp": "2015-02-03 12:49:00", "path": "/tmp/log"},
40 {"timestamp": "2015-02-03 23:59:59", "path": "/var/"}
41 ]
42 [[0,0.0,0.0],2]
43 load --table Logs_20150204
44 [
45 {"timestamp": "2015-02-04 00:00:00", "path": "/tmp/log"},
46 {"timestamp": "2015-02-04 13:49:00", "path": "/root/"},
47 {"timestamp": "2015-02-04 13:50:00", "path": "/etc/aliases"}
48 ]
49 [[0,0.0,0.0],3]
50 logical_table_remove Logs timestamp --min "2015-02-04 00:00:00" --min_border "include" --dependent yes
51 [
52 [
53 [
54 -55,
55 0.0,
56 0.0
57 ],
58 "object corrupt: <[object][remove][index][Logs_20150204.timestamp][set] hook has a dangling reference: <Times_20150204.timestamp"
59 ]
60 ]
61 #|e| [io][open] file size is too small: <8>(required: >= 64): <db/db.0000114>
62 #|e| grn_ctx_at: failed to open object: <276>(<Times_20150204.timestamp_index>):<72>(<column:index>)
63 #|e| grn_ctx_at: failed to open object: <276>(<Times_20150204.timestamp_index>):<72>(<column:index>)
64 #|e| grn_ctx_at: failed to open object: <276>(<Times_20150204.timestamp_index>):<72>(<column:index>)
65 #|e| [object][remove][index][Logs_20150204.timestamp][set] hook has a dangling reference: <Times_20150204.timestamp_index>(276)
66 object_exist Times_20150204.timestamp_index
67 [[0,0.0,0.0],true]
68 dump
69 plugin_register sharding
70
71 table_create Logs_20150203 TABLE_NO_KEY
72 column_create Logs_20150203 timestamp COLUMN_SCALAR Time
73
74 table_create Logs_20150204 TABLE_NO_KEY
75 column_create Logs_20150204 timestamp COLUMN_SCALAR Time
76
77 table_create NotRelated_20150204 TABLE_NO_KEY
78
79 table_create PathTerms_20150203 TABLE_PAT_KEY ShortText --default_tokenizer TokenBigram --normalizer NormalizerAuto
80
81 table_create PathTerms_20150204 TABLE_PAT_KEY ShortText --default_tokenizer TokenBigram --normalizer NormalizerAuto
82
83 table_create Paths_20150203 TABLE_HASH_KEY|KEY_LARGE ShortText
84
85 table_create Paths_20150204 TABLE_HASH_KEY|KEY_LARGE ShortText
86
87 table_create Times_20150203 TABLE_PAT_KEY Time
88
89 table_create Times_20150204 TABLE_PAT_KEY Time
90
91 column_create Logs_20150203 path COLUMN_SCALAR Paths_20150203
92
93 load --table Logs_20150204
94 [
95 ["_id","timestamp"],
96 [1,1422975600.0],
97 [2,1423025340.0],
98 [3,1423025400.0]
99 ]
100
101 load --table Paths_20150203
102 [
103 ["_key"],
104 ["/tmp/log"],
105 ["/var/"]
106 ]
107
108 load --table Paths_20150204
109 [
110 ["_key"],
111 ["/tmp/log"],
112 ["/root/"],
113 ["/etc/aliases"]
114 ]
115
116 load --table Times_20150204
117 [
118 ["_key"],
119 [1422975600.0],
120 [1423025340.0],
121 [1423025400.0]
122 ]
123
124 load --table Logs_20150203
125 [
126 ["_id","path","timestamp"],
127 [1,"/tmp/log",1422935340.0],
128 [2,"/var/",1422975599.0]
129 ]
130
131 column_create PathTerms_20150203 index COLUMN_INDEX|WITH_POSITION Paths_20150203 _key
132 column_create PathTerms_20150204 index COLUMN_INDEX|WITH_POSITION Paths_20150204 _key
133 column_create Times_20150203 timestamp_index COLUMN_INDEX Logs_20150203 timestamp
134 #|e| [io][open] file size is too small: <8>(required: >= 64): <db/db.0000114>
135 #|e| grn_ctx_at: failed to open object: <276>(<Times_20150204.timestamp_index>):<72>(<column:index>)
136 #|e| grn_ctx_at: failed to open object: <276>(<Times_20150204.timestamp_index>):<72>(<column:index>)
137 #|e| grn_ctx_at: failed to open object: <276>(<Times_20150204.timestamp_index>):<72>(<column:index>)
138 #|e| grn_ctx_at: failed to open object: <276>(<Times_20150204.timestamp_index>):<72>(<column:index>)
139 #|e| grn_ctx_at: failed to open object: <276>(<Times_20150204.timestamp_index>):<72>(<column:index>)