Debian Codegraph @

test/command/suite/sharding/logical_select/cache/columns/flags.expected

raw
1 plugin_register sharding
2 [[0,0.0,0.0],true]
3 plugin_register functions/vector
4 [[0,0.0,0.0],true]
5 table_create Logs_20170415 TABLE_NO_KEY
6 [[0,0.0,0.0],true]
7 column_create Logs_20170415 timestamp COLUMN_SCALAR Time
8 [[0,0.0,0.0],true]
9 column_create Logs_20170415 price COLUMN_SCALAR UInt32
10 [[0,0.0,0.0],true]
11 table_create Logs_20170416 TABLE_NO_KEY
12 [[0,0.0,0.0],true]
13 column_create Logs_20170416 timestamp COLUMN_SCALAR Time
14 [[0,0.0,0.0],true]
15 column_create Logs_20170416 price COLUMN_SCALAR UInt32
16 [[0,0.0,0.0],true]
17 load --table Logs_20170415
18 [
19 {"timestamp": "2017/04/15 00:00:00", "price": 1000},
20 {"timestamp": "2017/04/15 01:00:00", "price": 900}
21 ]
22 [[0,0.0,0.0],2]
23 load --table Logs_20170416
24 [
25 {"timestamp": "2017/04/16 10:00:00", "price": 520},
26 {"timestamp": "2017/04/16 11:00:00", "price": 510},
27 {"timestamp": "2017/04/16 12:00:00", "price": 500}
28 ]
29 [[0,0.0,0.0],3]
30 table_create Vector TABLE_PAT_KEY UInt32
31 [[0,0.0,0.0],true]
32 logical_select Logs --shard_key timestamp --columns[vector].stage initial --columns[vector].type ShortText --columns[vector].flags COLUMN_VECTOR --columns[vector].value "vector_new()" --output_columns vector
33 [[0,0.0,0.0],[[[5],[["vector","ShortText"]],[[]],[[]],[[]],[[]],[[]]]]]
34 logical_select Logs --shard_key timestamp --columns[vector].stage initial --columns[vector].type ShortText --columns[vector].flags COLUMN_VECTOR|WITH_WEIGHT --columns[vector].value "vector_new()" --output_columns vector
35 [[0,0.0,0.0],[[[5],[["vector","ShortText"]],[{}],[{}],[{}],[{}],[{}]]]]