mirror of https://github.com/ByConity/ByConity
move test
This commit is contained in:
parent
107e4e068b
commit
c0feed1241
|
@ -1,3 +1,3 @@
|
|||
CREATE TABLE test_02938.wide_table\n(\n `x` UInt32,\n `y` UInt32,\n `z` UInt32,\n INDEX autoZcreate_x x TYPE minmax GRANULARITY 3,\n INDEX autoZcreate_y y TYPE minmax GRANULARITY 3,\n INDEX autoZcreate_z z TYPE minmax GRANULARITY 3\n)\nENGINE = MergeTree\nPRIMARY KEY tuple()\nORDER BY mortonEncode(x, y, z)\nSETTINGS z_index_granularity = 3, index_granularity = 5
|
||||
CREATE TABLE test_02938.wide_table2\n(\n `x` UInt32,\n `y` UInt32,\n `z` UInt32,\n INDEX autoZcreate_x x TYPE minmax GRANULARITY 2,\n INDEX autoZcreate_y y TYPE minmax GRANULARITY 2,\n INDEX autoZcreate_z z TYPE minmax GRANULARITY 2\n)\nENGINE = MergeTree\nPRIMARY KEY tuple()\nORDER BY mortonEncode(x, y, z)\nSETTINGS index_granularity = 5
|
||||
CREATE TABLE test_02938.wide_table3\n(\n `x` UInt32,\n `y` UInt32,\n `z` UInt32\n)\nENGINE = MergeTree\nORDER BY mortonEncode(x, y, z)\nSETTINGS index_granularity = 5, enable_index_by_space_filling_curve = 0
|
||||
CREATE TABLE test_02938.wide_table\n(\n `x` UInt32,\n `y` UInt32,\n `z` UInt32,\n INDEX autoZcreate_x x TYPE minmax GRANULARITY 3,\n INDEX autoZcreate_y y TYPE minmax GRANULARITY 3,\n INDEX autoZcreate_z z TYPE minmax GRANULARITY 3\n)\nENGINE = CnchMergeTree\nPRIMARY KEY tuple()\nORDER BY mortonEncode(x, y, z)\nSETTINGS z_index_granularity = 3, index_granularity = 5
|
||||
CREATE TABLE test_02938.wide_table2\n(\n `x` UInt32,\n `y` UInt32,\n `z` UInt32,\n INDEX autoZcreate_x x TYPE minmax GRANULARITY 2,\n INDEX autoZcreate_y y TYPE minmax GRANULARITY 2,\n INDEX autoZcreate_z z TYPE minmax GRANULARITY 2\n)\nENGINE = CnchMergeTree\nPRIMARY KEY tuple()\nORDER BY mortonEncode(x, y, z)\nSETTINGS index_granularity = 5
|
||||
CREATE TABLE test_02938.wide_table3\n(\n `x` UInt32,\n `y` UInt32,\n `z` UInt32\n)\nENGINE = CnchMergeTree\nORDER BY mortonEncode(x, y, z)\nSETTINGS index_granularity = 5, enable_index_by_space_filling_curve = 0
|
|
@ -1,10 +1,10 @@
|
|||
|
||||
CREATE DATABASE IF NOT EXISTS test_02938;
|
||||
USE test_02938;
|
||||
CREATE TABLE wide_table (x UInt32, y UInt32, z UInt32) ENGINE = MergeTree ORDER BY mortonEncode(x, y, z) SETTINGS z_index_granularity = 3, index_granularity = 5;
|
||||
CREATE TABLE wide_table (x UInt32, y UInt32, z UInt32) ENGINE = CnchMergeTree ORDER BY mortonEncode(x, y, z) SETTINGS z_index_granularity = 3, index_granularity = 5;
|
||||
SHOW CREATE TABLE wide_table;
|
||||
CREATE TABLE wide_table2 (x UInt32, y UInt32, z UInt32) ENGINE = MergeTree ORDER BY mortonEncode(x, y, z) SETTINGS index_granularity = 5;
|
||||
CREATE TABLE wide_table2 (x UInt32, y UInt32, z UInt32) ENGINE = CnchMergeTree ORDER BY mortonEncode(x, y, z) SETTINGS index_granularity = 5;
|
||||
SHOW CREATE TABLE wide_table2;
|
||||
CREATE TABLE wide_table3 (x UInt32, y UInt32, z UInt32) ENGINE = MergeTree ORDER BY mortonEncode(x, y, z) SETTINGS index_granularity = 5, enable_index_by_space_filling_curve = 0;
|
||||
CREATE TABLE wide_table3 (x UInt32, y UInt32, z UInt32) ENGINE = CnchMergeTree ORDER BY mortonEncode(x, y, z) SETTINGS index_granularity = 5, enable_index_by_space_filling_curve = 0;
|
||||
SHOW CREATE TABLE wide_table3;
|
||||
DROP DATABASE test_02938;
|
Loading…
Reference in New Issue