1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44
|
table_create Data TABLE_NO_KEY
[[0,0.0,0.0],true]
column_create Data timestamp COLUMN_SCALAR Time
[[0,0.0,0.0],true]
load --table Data
[
{"timestamp": "2020-04-01 11:00:00.000000"},
{"timestamp": "2020-04-01 12:00:00.000000"}
]
[[0,0.0,0.0],2]
select Data --filter 'between(timestamp, "2020-04-01 01:00:00.000000", "include", "2020-04-01 12:00:00.000000", "exclude")' --columns[dummy_for_creating_temporary_table].stage initial --columns[dummy_for_creating_temporary_table].type Bool --columns[dummy_for_creating_temporary_table].value true
[
[
0,
0.0,
0.0
],
[
[
[
1
],
[
[
"_id",
"UInt32"
],
[
"dummy_for_creating_temporary_table",
"Bool"
],
[
"timestamp",
"Time"
]
],
[
1,
true,
1585706400.0
]
]
]
]
|