mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-30 11:32:03 +00:00
Fix test 02117_show_create_table_system.
This commit is contained in:
parent
cd2063d154
commit
08a9112f38
@ -51,7 +51,7 @@ CREATE TABLE system.clusters
|
||||
`database_shard_name` String,
|
||||
`database_replica_name` String,
|
||||
`is_active` Nullable(UInt8),
|
||||
`name` String
|
||||
`name` String ALIAS cluster
|
||||
)
|
||||
ENGINE = SystemClusters
|
||||
COMMENT 'SYSTEM TABLE is built on the fly.'
|
||||
@ -134,7 +134,7 @@ CREATE TABLE system.databases
|
||||
`uuid` UUID,
|
||||
`engine_full` String,
|
||||
`comment` String,
|
||||
`database` String
|
||||
`database` String ALIAS name
|
||||
)
|
||||
ENGINE = SystemDatabases
|
||||
COMMENT 'SYSTEM TABLE is built on the fly.'
|
||||
@ -265,7 +265,7 @@ CREATE TABLE system.events
|
||||
`event` String,
|
||||
`value` UInt64,
|
||||
`description` String,
|
||||
`name` String
|
||||
`name` String ALIAS event
|
||||
)
|
||||
ENGINE = SystemEvents
|
||||
COMMENT 'SYSTEM TABLE is built on the fly.'
|
||||
@ -375,7 +375,7 @@ CREATE TABLE system.metrics
|
||||
`metric` String,
|
||||
`value` Int64,
|
||||
`description` String,
|
||||
`name` String
|
||||
`name` String ALIAS metric
|
||||
)
|
||||
ENGINE = SystemMetrics
|
||||
COMMENT 'SYSTEM TABLE is built on the fly.'
|
||||
@ -512,9 +512,9 @@ CREATE TABLE system.parts
|
||||
`has_lightweight_delete` UInt8,
|
||||
`last_removal_attempt_time` DateTime,
|
||||
`removal_state` String,
|
||||
`bytes` UInt64,
|
||||
`marks_size` UInt64,
|
||||
`part_name` String
|
||||
`bytes` UInt64 ALIAS bytes_on_disk,
|
||||
`marks_size` UInt64 ALIAS marks_bytes,
|
||||
`part_name` String ALIAS name
|
||||
)
|
||||
ENGINE = SystemParts
|
||||
COMMENT 'SYSTEM TABLE is built on the fly.'
|
||||
@ -568,9 +568,9 @@ CREATE TABLE system.parts_columns
|
||||
`subcolumns.data_compressed_bytes` Array(UInt64),
|
||||
`subcolumns.data_uncompressed_bytes` Array(UInt64),
|
||||
`subcolumns.marks_bytes` Array(UInt64),
|
||||
`bytes` UInt64,
|
||||
`marks_size` UInt64,
|
||||
`part_name` String
|
||||
`bytes` UInt64 ALIAS bytes_on_disk,
|
||||
`marks_size` UInt64 ALIAS marks_bytes,
|
||||
`part_name` String ALIAS name
|
||||
)
|
||||
ENGINE = SystemPartsColumns
|
||||
COMMENT 'SYSTEM TABLE is built on the fly.'
|
||||
@ -615,10 +615,10 @@ CREATE TABLE system.processes
|
||||
`ProfileEvents` Map(String, UInt64),
|
||||
`Settings` Map(String, String),
|
||||
`current_database` String,
|
||||
`ProfileEvents.Names` Array(String),
|
||||
`ProfileEvents.Values` Array(UInt64),
|
||||
`Settings.Names` Array(String),
|
||||
`Settings.Values` Array(String)
|
||||
`ProfileEvents.Names` Array(String) ALIAS mapKeys(ProfileEvents),
|
||||
`ProfileEvents.Values` Array(UInt64) ALIAS mapValues(ProfileEvents),
|
||||
`Settings.Names` Array(String) ALIAS mapKeys(Settings),
|
||||
`Settings.Values` Array(String) ALIAS mapValues(Settings)
|
||||
)
|
||||
ENGINE = SystemProcesses
|
||||
COMMENT 'SYSTEM TABLE is built on the fly.'
|
||||
@ -681,9 +681,9 @@ CREATE TABLE system.projection_parts
|
||||
`rows_where_ttl_info.expression` Array(String),
|
||||
`rows_where_ttl_info.min` Array(DateTime),
|
||||
`rows_where_ttl_info.max` Array(DateTime),
|
||||
`bytes` UInt64,
|
||||
`marks_size` UInt64,
|
||||
`part_name` String
|
||||
`bytes` UInt64 ALIAS bytes_on_disk,
|
||||
`marks_size` UInt64 ALIAS marks_bytes,
|
||||
`part_name` String ALIAS name
|
||||
)
|
||||
ENGINE = SystemProjectionParts
|
||||
COMMENT 'SYSTEM TABLE is built on the fly.'
|
||||
@ -737,9 +737,9 @@ CREATE TABLE system.projection_parts_columns
|
||||
`column_data_uncompressed_bytes` UInt64,
|
||||
`column_marks_bytes` UInt64,
|
||||
`column_modification_time` Nullable(DateTime),
|
||||
`bytes` UInt64,
|
||||
`marks_size` UInt64,
|
||||
`part_name` String
|
||||
`bytes` UInt64 ALIAS bytes_on_disk,
|
||||
`marks_size` UInt64 ALIAS marks_bytes,
|
||||
`part_name` String ALIAS name
|
||||
)
|
||||
ENGINE = SystemProjectionPartsColumns
|
||||
COMMENT 'SYSTEM TABLE is built on the fly.'
|
||||
@ -1093,7 +1093,7 @@ CREATE TABLE system.tables
|
||||
`loading_dependencies_table` Array(String),
|
||||
`loading_dependent_database` Array(String),
|
||||
`loading_dependent_table` Array(String),
|
||||
`table` String
|
||||
`table` String ALIAS name
|
||||
)
|
||||
ENGINE = SystemTables
|
||||
COMMENT 'SYSTEM TABLE is built on the fly.'
|
||||
|
Loading…
Reference in New Issue
Block a user