2024-09-02 01:03:38 +00:00
|
|
|
CREATE TABLE default.foo_memory\n(\n `x` Int8,\n `y` String\n)\nENGINE = Memory
|
|
|
|
CREATE TABLE default.foo_file\n(\n `x` Int8,\n `y` String\n)\nENGINE = File(\'TabSeparated\')
|
|
|
|
CREATE TABLE default.foo_merge_tree\n(\n `x` Int8,\n `y` String\n)\nENGINE = MergeTree\nPRIMARY KEY x\nORDER BY x\nSETTINGS index_granularity = 8192
|
|
|
|
1 a
|
|
|
|
2 b
|
|
|
|
CREATE TABLE default.clone_as_foo_merge_tree\n(\n `x` Int8,\n `y` String\n)\nENGINE = MergeTree\nPRIMARY KEY x\nORDER BY x\nSETTINGS index_granularity = 8192
|
2024-09-02 03:40:19 +00:00
|
|
|
from foo_merge_tree
|
2024-09-02 01:03:38 +00:00
|
|
|
1 a
|
|
|
|
2 b
|
2024-09-02 03:40:19 +00:00
|
|
|
from clone_as_foo_merge_tree
|
2024-09-02 01:03:38 +00:00
|
|
|
1 a
|
|
|
|
2 b
|
2024-09-10 07:55:21 +00:00
|
|
|
from clone_as_foo_merge_tree_p_x
|
|
|
|
1 a
|
|
|
|
2 b
|
2024-09-02 01:03:38 +00:00
|
|
|
CREATE TABLE default.foo_replacing_merge_tree\n(\n `x` Int8,\n `y` String\n)\nENGINE = ReplacingMergeTree\nPRIMARY KEY x\nORDER BY x\nSETTINGS index_granularity = 8192
|
|
|
|
1 a
|
|
|
|
2 b
|
|
|
|
CREATE TABLE default.clone_as_foo_replacing_merge_tree\n(\n `x` Int8,\n `y` String\n)\nENGINE = ReplacingMergeTree\nPRIMARY KEY x\nORDER BY x\nSETTINGS index_granularity = 8192
|
2024-09-02 03:40:19 +00:00
|
|
|
from foo_replacing_merge_tree
|
2024-09-02 01:03:38 +00:00
|
|
|
1 a
|
|
|
|
2 b
|
2024-09-02 03:40:19 +00:00
|
|
|
from clone_as_foo_replacing_merge_tree
|
2024-09-02 01:03:38 +00:00
|
|
|
1 a
|
|
|
|
2 b
|
2024-09-10 07:55:21 +00:00
|
|
|
from clone_as_foo_replacing_merge_tree_p_x
|
|
|
|
1 a
|
|
|
|
2 b
|
2024-09-06 06:32:16 +00:00
|
|
|
CREATE TABLE default.foo_replicated_merge_tree\n(\n `x` Int8,\n `y` String\n)\nENGINE = ReplicatedMergeTree(\'/clickhouse/tables/default/test_foo_replicated_merge_tree\', \'r1\')\nPRIMARY KEY x\nORDER BY x\nSETTINGS index_granularity = 8192
|
2024-09-10 07:55:21 +00:00
|
|
|
from foo_replicated_merge_tree
|
|
|
|
1 a
|
|
|
|
2 b
|
|
|
|
CREATE TABLE default.clone_as_foo_replicated_merge_tree_p_x\n(\n `x` Int8,\n `y` String\n)\nENGINE = ReplicatedMergeTree(\'/clickhouse/tables/default/clone_as_foo_replicated_merge_tree_p_x\', \'r1\')\nPRIMARY KEY x\nORDER BY x\nSETTINGS index_granularity = 8192
|
|
|
|
from clone_as_foo_replicated_merge_tree_p_x
|
2024-09-06 06:32:16 +00:00
|
|
|
1 a
|
|
|
|
2 b
|
2024-09-05 08:45:11 +00:00
|
|
|
s1 r1 OK 0 0
|
2024-09-06 15:10:35 +00:00
|
|
|
CREATE TABLE default_1.foo_merge_tree\n(\n `x` Int8,\n `y` String\n)\nENGINE = MergeTree\nPRIMARY KEY x\nORDER BY x\nSETTINGS index_granularity = 8192
|
|
|
|
from foo_merge_tree
|
2024-09-05 08:45:11 +00:00
|
|
|
1 a
|
|
|
|
2 b
|
|
|
|
s1 r1 OK 0 0
|