2020-06-01 23:41:41 +00:00
|
|
|
CREATE TABLE default.rename_table\n(\n `key` Int32,\n `old_value1` Int32,\n `value1` Int32\n)\nENGINE = MergeTree\nORDER BY tuple()\nSETTINGS index_granularity = 8192
|
2020-05-13 17:43:30 +00:00
|
|
|
key old_value1 value1
|
|
|
|
1 2 3
|
2020-06-01 23:41:41 +00:00
|
|
|
CREATE TABLE default.rename_table\n(\n `k` Int32,\n `v1` Int32,\n `v2` Int32\n)\nENGINE = MergeTree\nORDER BY tuple()\nSETTINGS index_granularity = 8192
|
2020-05-14 16:56:13 +00:00
|
|
|
k v1 v2
|
|
|
|
1 2 3
|
|
|
|
4 5 6
|
|
|
|
---polymorphic---
|
2020-06-01 23:41:41 +00:00
|
|
|
CREATE TABLE default.rename_table_polymorphic\n(\n `key` Int32,\n `old_value1` Int32,\n `value1` Int32\n)\nENGINE = MergeTree\nORDER BY tuple()\nSETTINGS min_rows_for_wide_part = 10000, index_granularity = 8192
|
2020-05-14 16:56:13 +00:00
|
|
|
key old_value1 value1
|
|
|
|
1 2 3
|
2020-06-01 23:41:41 +00:00
|
|
|
CREATE TABLE default.rename_table_polymorphic\n(\n `k` Int32,\n `v1` Int32,\n `v2` Int32\n)\nENGINE = MergeTree\nORDER BY tuple()\nSETTINGS min_rows_for_wide_part = 10000, index_granularity = 8192
|
2020-05-15 10:26:44 +00:00
|
|
|
k v1 v2
|
|
|
|
1 2 3
|
|
|
|
4 5 6
|