Debian Codegraph @

test/command/suite/sharding/logical_count/log/range_index.test

raw
1 #@on-error omit
2 plugin_register sharding
3 #@on-error default
4
5 table_create Logs_20150709 TABLE_NO_KEY
6 column_create Logs_20150709 timestamp COLUMN_SCALAR Time
7 table_create Times_20150709 TABLE_PAT_KEY Time
8 column_create Times_20150709 timestamp_index COLUMN_INDEX Logs_20150709 timestamp
9 load --table Logs_20150709
10 [
11 {"timestamp": "2015-07-09 20:00:00"}
12 ]
13
14 log_level --level debug
15 #@add-important-log-levels debug
16 #@add-ignore-log-pattern /\A\[io\]/
17 logical_count Logs timestamp \
18 --min "2015/07/09 00:00:00" \
19 --max "2015/07/09 12:00:00"
20 #@remove-ignore-log-pattern /\A\[io\]/
21 #@remove-important-log-levels debug
22 log_level --level notice