ClickHouse/tests/queries/0_stateless/01152_cross_replication.reference
2021-04-13 15:49:40 +03:00

13 lines
928 B
Plaintext

localhost 9000 0 0 0
localhost 9000 0 0 0
demo_loan_01568
demo_loan_01568
CREATE TABLE shard_0.demo_loan_01568\n(\n `id` Int64 COMMENT \'id\',\n `date_stat` Date COMMENT \'date of stat\',\n `customer_no` String COMMENT \'customer no\',\n `loan_principal` Float64 COMMENT \'loan principal\'\n)\nENGINE = ReplacingMergeTree\nPARTITION BY toYYYYMM(date_stat)\nORDER BY id\nSETTINGS index_granularity = 8192
CREATE TABLE shard_1.demo_loan_01568\n(\n `id` Int64 COMMENT \'id\',\n `date_stat` Date COMMENT \'date of stat\',\n `customer_no` String COMMENT \'customer no\',\n `loan_principal` Float64 COMMENT \'loan principal\'\n)\nENGINE = ReplacingMergeTree\nPARTITION BY toYYYYMM(date_stat)\nORDER BY id\nSETTINGS index_granularity = 8192
1 2021-04-13 qwerty 3.14159
2 2021-04-14 asdfgh 2.71828
1 2021-04-13 qwerty 3.14159
2 2021-04-14 asdfgh 2.71828
2 2021-04-14 asdfgh 2.71828
1 2021-04-13 qwerty 3.14159