2019-03-26 19:23:12 +00:00
|
|
|
CREATE TABLE test.minmax_idx (`u64` UInt64, `i32` Int32, INDEX idx1 u64 * i32 TYPE minmax GRANULARITY 10, INDEX idx3 u64 - i32 TYPE minmax GRANULARITY 10, INDEX idx2 u64 + i32 TYPE minmax GRANULARITY 10) ENGINE = MergeTree() ORDER BY u64 SETTINGS index_granularity = 8192
|
2019-01-16 18:35:03 +00:00
|
|
|
1 2
|
|
|
|
1 2
|
|
|
|
1 2
|
|
|
|
1 2
|
|
|
|
1 2
|
|
|
|
1 2
|
|
|
|
1 2
|
2019-03-26 19:23:12 +00:00
|
|
|
CREATE TABLE test.minmax_idx (`u64` UInt64, `i32` Int32, INDEX idx3 u64 - i32 TYPE minmax GRANULARITY 10, INDEX idx2 u64 + i32 TYPE minmax GRANULARITY 10) ENGINE = MergeTree() ORDER BY u64 SETTINGS index_granularity = 8192
|
2019-01-16 18:35:03 +00:00
|
|
|
1 2
|
|
|
|
1 2
|
|
|
|
1 2
|
|
|
|
1 2
|
|
|
|
1 2
|
|
|
|
1 2
|
2019-03-26 19:23:12 +00:00
|
|
|
CREATE TABLE test.minmax_idx (`u64` UInt64, `i32` Int32) ENGINE = MergeTree() ORDER BY u64 SETTINGS index_granularity = 8192
|
|
|
|
CREATE TABLE test.minmax_idx (`u64` UInt64, `i32` Int32, INDEX idx1 u64 * i32 TYPE minmax GRANULARITY 10) ENGINE = MergeTree() ORDER BY u64 SETTINGS index_granularity = 8192
|
2019-01-16 18:35:03 +00:00
|
|
|
1 2
|
|
|
|
1 2
|
|
|
|
1 2
|
|
|
|
1 2
|
|
|
|
1 2
|
|
|
|
1 2
|
|
|
|
1 2
|
|
|
|
1 2
|
2019-03-26 19:23:12 +00:00
|
|
|
CREATE TABLE test.minmax_idx2 (`u64` UInt64, `i32` Int32) ENGINE = MergeTree() ORDER BY u64 SETTINGS index_granularity = 8192
|
2019-01-16 18:35:03 +00:00
|
|
|
1 2
|
2019-01-16 19:47:21 +00:00
|
|
|
1 2
|