mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 23:21:59 +00:00
fix columns order in test references [#CLICKHOUSE-3101]
This commit is contained in:
parent
a2debdb724
commit
7a033f5469
@ -20,21 +20,21 @@ some string 11
|
|||||||
hello clickhouse 16
|
hello clickhouse 16
|
||||||
some string 11
|
some string 11
|
||||||
payload String
|
payload String
|
||||||
|
date Date MATERIALIZED today()
|
||||||
|
key UInt64 MATERIALIZED 0 * rand()
|
||||||
payload_length UInt64 DEFAULT length(payload)
|
payload_length UInt64 DEFAULT length(payload)
|
||||||
date Date MATERIALIZED today()
|
|
||||||
key UInt64 MATERIALIZED 0 * rand()
|
|
||||||
hello clickhouse 16
|
hello clickhouse 16
|
||||||
some string 11
|
some string 11
|
||||||
payload String
|
payload String
|
||||||
|
date Date MATERIALIZED today()
|
||||||
|
key UInt64 MATERIALIZED 0 * rand()
|
||||||
payload_length UInt16 DEFAULT length(payload) % 65535
|
payload_length UInt16 DEFAULT length(payload) % 65535
|
||||||
date Date MATERIALIZED today()
|
|
||||||
key UInt64 MATERIALIZED 0 * rand()
|
|
||||||
hello clickhouse 16
|
hello clickhouse 16
|
||||||
some string 11
|
some string 11
|
||||||
payload String
|
payload String
|
||||||
payload_length UInt16 DEFAULT CAST(length(payload), \'UInt16\')
|
|
||||||
date Date MATERIALIZED today()
|
date Date MATERIALIZED today()
|
||||||
key UInt64 MATERIALIZED 0 * rand()
|
key UInt64 MATERIALIZED 0 * rand()
|
||||||
|
payload_length UInt16 DEFAULT CAST(length(payload), \'UInt16\')
|
||||||
payload String
|
payload String
|
||||||
date Date MATERIALIZED today()
|
date Date MATERIALIZED today()
|
||||||
key UInt64 MATERIALIZED 0 * rand()
|
key UInt64 MATERIALIZED 0 * rand()
|
||||||
|
@ -1,25 +1,25 @@
|
|||||||
CREATE TABLE test.check_query_comment_column ( first_column UInt8 DEFAULT 1 COMMENT \'comment 1\', fourth_column UInt8 COMMENT \'comment 4\', fifth_column UInt8, second_column UInt8 MATERIALIZED first_column COMMENT \'comment 2\', third_column UInt8 ALIAS second_column COMMENT \'comment 3\') ENGINE = TinyLog
|
CREATE TABLE test.check_query_comment_column ( first_column UInt8 DEFAULT 1 COMMENT \'comment 1\', second_column UInt8 MATERIALIZED first_column COMMENT \'comment 2\', third_column UInt8 ALIAS second_column COMMENT \'comment 3\', fourth_column UInt8 COMMENT \'comment 4\', fifth_column UInt8) ENGINE = TinyLog
|
||||||
first_column UInt8 DEFAULT 1 comment 1
|
first_column UInt8 DEFAULT 1 comment 1
|
||||||
fourth_column UInt8 comment 4
|
|
||||||
fifth_column UInt8
|
|
||||||
second_column UInt8 MATERIALIZED first_column comment 2
|
second_column UInt8 MATERIALIZED first_column comment 2
|
||||||
third_column UInt8 ALIAS second_column comment 3
|
third_column UInt8 ALIAS second_column comment 3
|
||||||
|
fourth_column UInt8 comment 4
|
||||||
|
fifth_column UInt8
|
||||||
┌─table──────────────────────┬─name──────────┬─comment───┐
|
┌─table──────────────────────┬─name──────────┬─comment───┐
|
||||||
│ check_query_comment_column │ first_column │ comment 1 │
|
│ check_query_comment_column │ first_column │ comment 1 │
|
||||||
│ check_query_comment_column │ fourth_column │ comment 4 │
|
|
||||||
│ check_query_comment_column │ fifth_column │ │
|
|
||||||
│ check_query_comment_column │ second_column │ comment 2 │
|
│ check_query_comment_column │ second_column │ comment 2 │
|
||||||
│ check_query_comment_column │ third_column │ comment 3 │
|
│ check_query_comment_column │ third_column │ comment 3 │
|
||||||
|
│ check_query_comment_column │ fourth_column │ comment 4 │
|
||||||
|
│ check_query_comment_column │ fifth_column │ │
|
||||||
└────────────────────────────┴───────────────┴───────────┘
|
└────────────────────────────┴───────────────┴───────────┘
|
||||||
CREATE TABLE test.check_query_comment_column ( first_column UInt8 DEFAULT 1 COMMENT \'comment 1_1\', fourth_column UInt8 COMMENT \'comment 4_1\', fifth_column UInt8 COMMENT \'comment 5_1\', second_column UInt8 MATERIALIZED first_column COMMENT \'comment 2_1\', third_column UInt8 ALIAS second_column COMMENT \'comment 3_1\') ENGINE = TinyLog
|
CREATE TABLE test.check_query_comment_column ( first_column UInt8 DEFAULT 1 COMMENT \'comment 1_1\', second_column UInt8 MATERIALIZED first_column COMMENT \'comment 2_1\', third_column UInt8 ALIAS second_column COMMENT \'comment 3_1\', fourth_column UInt8 COMMENT \'comment 4_1\', fifth_column UInt8 COMMENT \'comment 5_1\') ENGINE = TinyLog
|
||||||
┌─table──────────────────────┬─name──────────┬─comment─────┐
|
┌─table──────────────────────┬─name──────────┬─comment─────┐
|
||||||
│ check_query_comment_column │ first_column │ comment 1_2 │
|
│ check_query_comment_column │ first_column │ comment 1_2 │
|
||||||
│ check_query_comment_column │ fourth_column │ comment 4_2 │
|
|
||||||
│ check_query_comment_column │ fifth_column │ comment 5_2 │
|
|
||||||
│ check_query_comment_column │ second_column │ comment 2_2 │
|
│ check_query_comment_column │ second_column │ comment 2_2 │
|
||||||
│ check_query_comment_column │ third_column │ comment 3_2 │
|
│ check_query_comment_column │ third_column │ comment 3_2 │
|
||||||
|
│ check_query_comment_column │ fourth_column │ comment 4_2 │
|
||||||
|
│ check_query_comment_column │ fifth_column │ comment 5_2 │
|
||||||
└────────────────────────────┴───────────────┴─────────────┘
|
└────────────────────────────┴───────────────┴─────────────┘
|
||||||
CREATE TABLE test.check_query_comment_column ( first_column UInt8 DEFAULT 1 COMMENT \'comment 1_2\', fourth_column UInt8 COMMENT \'comment 4_2\', fifth_column UInt8 COMMENT \'comment 5_2\', second_column UInt8 MATERIALIZED first_column COMMENT \'comment 2_2\', third_column UInt8 ALIAS second_column COMMENT \'comment 3_2\') ENGINE = TinyLog
|
CREATE TABLE test.check_query_comment_column ( first_column UInt8 DEFAULT 1 COMMENT \'comment 1_2\', second_column UInt8 MATERIALIZED first_column COMMENT \'comment 2_2\', third_column UInt8 ALIAS second_column COMMENT \'comment 3_2\', fourth_column UInt8 COMMENT \'comment 4_2\', fifth_column UInt8 COMMENT \'comment 5_2\') ENGINE = TinyLog
|
||||||
CREATE TABLE test.check_query_comment_column ( first_column UInt8 COMMENT \'comment 1\', second_column UInt8 COMMENT \'comment 2\', third_column UInt8 COMMENT \'comment 3\') ENGINE = MergeTree() PARTITION BY second_column ORDER BY first_column SAMPLE BY first_column SETTINGS index_granularity = 8192
|
CREATE TABLE test.check_query_comment_column ( first_column UInt8 COMMENT \'comment 1\', second_column UInt8 COMMENT \'comment 2\', third_column UInt8 COMMENT \'comment 3\') ENGINE = MergeTree() PARTITION BY second_column ORDER BY first_column SAMPLE BY first_column SETTINGS index_granularity = 8192
|
||||||
first_column UInt8 comment 1
|
first_column UInt8 comment 1
|
||||||
second_column UInt8 comment 2
|
second_column UInt8 comment 2
|
||||||
|
Loading…
Reference in New Issue
Block a user