mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-24 16:42:05 +00:00
29 lines
3.9 KiB
Plaintext
29 lines
3.9 KiB
Plaintext
|
CREATE TABLE default.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
|
||
|
┌─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 │
|
||
|
└────────────────────────────┴───────────────┴────────────────┘
|
||
|
CREATE TABLE default.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
|
||
|
┌─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 │
|
||
|
└────────────────────────────┴───────────────┴───────────────────────┘
|
||
|
CREATE TABLE default.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)
|
||
|
┌─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 │
|
||
|
└────────────────────────────┴───────────────┴────────────────┘
|
||
|
CREATE TABLE default.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)
|
||
|
┌─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 │
|
||
|
└────────────────────────────┴───────────────┴────────────────────────┘
|