2019-01-17 11:10:43 +00:00
|
|
|
CREATE TABLE test.minmax_idx ( u64 UInt64, i32 Int32) ENGINE = MergeTree() ORDER BY u64 INDICES idx1 BY u64 * i32 TYPE minmax GRANULARITY 10, idx3 BY u64 - i32 TYPE minmax GRANULARITY 10, idx2 BY u64 + i32 TYPE minmax GRANULARITY 10 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-01-17 11:10:43 +00:00
|
|
|
CREATE TABLE test.minmax_idx ( u64 UInt64, i32 Int32) ENGINE = MergeTree() ORDER BY u64 INDICES idx3 BY u64 - i32 TYPE minmax GRANULARITY 10, idx2 BY u64 + i32 TYPE minmax GRANULARITY 10 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-01-16 19:31:04 +00:00
|
|
|
CREATE TABLE test.minmax_idx ( u64 UInt64, i32 Int32) ENGINE = MergeTree() ORDER BY u64 SETTINGS index_granularity = 8192
|
2019-01-17 11:10:43 +00:00
|
|
|
CREATE TABLE test.minmax_idx ( u64 UInt64, i32 Int32) ENGINE = MergeTree() ORDER BY u64 INDICES idx1 BY u64 * i32 TYPE minmax GRANULARITY 10 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-01-16 19:31:04 +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
|