2018-11-06 13:26:43 +00:00
|
|
|
CREATE TABLE test.check_query_comment_column ( first_column UInt8 DEFAULT 1 COMMENT \'first comment\', fourth_column UInt8 COMMENT \'fourth comment\', fifth_column UInt8, second_column UInt8 MATERIALIZED first_column COMMENT \'second comment\', third_column UInt8 ALIAS second_column COMMENT \'third comment\') ENGINE = TinyLog
|
2018-10-14 15:30:06 +00:00
|
|
|
┌─table──────────────────────┬─name──────────┬─comment────────┐
|
|
|
|
│ check_query_comment_column │ first_column │ first comment │
|
|
|
|
│ check_query_comment_column │ fourth_column │ fourth comment │
|
|
|
|
│ check_query_comment_column │ fifth_column │ │
|
|
|
|
│ check_query_comment_column │ second_column │ second comment │
|
|
|
|
│ check_query_comment_column │ third_column │ third comment │
|
|
|
|
└────────────────────────────┴───────────────┴────────────────┘
|
2018-11-06 13:26:43 +00:00
|
|
|
CREATE TABLE test.check_query_comment_column ( first_column UInt8 DEFAULT 1 COMMENT \'another first column\', fourth_column UInt8 COMMENT \'another fourth column\', fifth_column UInt8 COMMENT \'another fifth column\', second_column UInt8 MATERIALIZED first_column COMMENT \'another second column\', third_column UInt8 ALIAS second_column COMMENT \'another third column\') ENGINE = TinyLog
|
2018-10-14 15:30:06 +00:00
|
|
|
┌─table──────────────────────┬─name──────────┬─comment───────────────┐
|
|
|
|
│ check_query_comment_column │ first_column │ another first column │
|
|
|
|
│ check_query_comment_column │ fourth_column │ another fourth column │
|
|
|
|
│ check_query_comment_column │ fifth_column │ another fifth column │
|
|
|
|
│ check_query_comment_column │ second_column │ another second column │
|
|
|
|
│ check_query_comment_column │ third_column │ another third column │
|
|
|
|
└────────────────────────────┴───────────────┴───────────────────────┘
|
2018-11-06 13:26:43 +00:00
|
|
|
CREATE TABLE test.check_query_comment_column ( first_column Date COMMENT \'first comment\', second_column UInt8 COMMENT \'second comment\', third_column UInt8 COMMENT \'third comment\') ENGINE = MergeTree(first_column, (second_column, second_column), 8192)
|
2018-10-14 15:30:06 +00:00
|
|
|
┌─table──────────────────────┬─name──────────┬─comment────────┐
|
|
|
|
│ check_query_comment_column │ first_column │ first comment │
|
|
|
|
│ check_query_comment_column │ second_column │ second comment │
|
|
|
|
│ check_query_comment_column │ third_column │ third comment │
|
|
|
|
└────────────────────────────┴───────────────┴────────────────┘
|
2018-11-06 13:26:43 +00:00
|
|
|
CREATE TABLE test.check_query_comment_column ( first_column Date COMMENT \'another first comment\', second_column UInt8 COMMENT \'another second comment\', third_column UInt8 COMMENT \'another third comment\') ENGINE = MergeTree(first_column, (second_column, second_column), 8192)
|
2018-10-14 15:30:06 +00:00
|
|
|
┌─table──────────────────────┬─name──────────┬─comment────────────────┐
|
|
|
|
│ check_query_comment_column │ first_column │ another first comment │
|
|
|
|
│ check_query_comment_column │ second_column │ another second comment │
|
|
|
|
│ check_query_comment_column │ third_column │ another third comment │
|
|
|
|
└────────────────────────────┴───────────────┴────────────────────────┘
|