mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-23 08:02:02 +00:00
parent
b67a0fe344
commit
2aefa760c3
@ -198,6 +198,8 @@ Columns:
|
||||
- `FOREIGN TABLE`
|
||||
- `LOCAL TEMPORARY`
|
||||
- `SYSTEM VIEW`
|
||||
- `data_rows` ([Nullable](../../sql-reference/data-types/nullable.md)([UInt64](../../sql-reference/data-types/int-uint.md))) — The total
|
||||
number of rows. NULL if it could not be determined.
|
||||
- `data_length` ([Nullable](../../sql-reference/data-types/nullable.md)([UInt64](../../sql-reference/data-types/int-uint.md))) — The size of
|
||||
the data on-disk. NULL if it could not be determined.
|
||||
- `table_collation` ([Nullable](../../sql-reference/data-types/nullable.md)([String](../../sql-reference/data-types/string.md))) — The table default collation. Always `utf8mb4_0900_ai_ci`.
|
||||
|
@ -61,6 +61,7 @@ static constexpr std::string_view tables = R"(
|
||||
`table_schema` String,
|
||||
`table_name` String,
|
||||
`table_type` String,
|
||||
`data_rows` Nullable(UInt64),
|
||||
`data_length` Nullable(UInt64),
|
||||
`table_collation` Nullable(String),
|
||||
`table_comment` Nullable(String),
|
||||
@ -68,6 +69,7 @@ static constexpr std::string_view tables = R"(
|
||||
`TABLE_SCHEMA` String,
|
||||
`TABLE_NAME` String,
|
||||
`TABLE_TYPE` String,
|
||||
`DATA_ROWS` Nullable(UInt64),
|
||||
`DATA_LENGTH` Nullable(UInt64),
|
||||
`TABLE_COLLATION` Nullable(String),
|
||||
`TABLE_COMMENT` Nullable(String)
|
||||
@ -82,6 +84,7 @@ static constexpr std::string_view tables = R"(
|
||||
has_own_data = 0, 'FOREIGN TABLE',
|
||||
'BASE TABLE'
|
||||
) AS table_type,
|
||||
total_rows AS data_rows,
|
||||
total_bytes AS data_length,
|
||||
'utf8mb4_0900_ai_ci' AS table_collation,
|
||||
comment AS table_comment,
|
||||
@ -89,6 +92,7 @@ static constexpr std::string_view tables = R"(
|
||||
table_schema AS TABLE_SCHEMA,
|
||||
table_name AS TABLE_NAME,
|
||||
table_type AS TABLE_TYPE,
|
||||
data_rows AS DATA_ROWS,
|
||||
data_length AS DATA_LENGTH,
|
||||
table_collation AS TABLE_COLLATION,
|
||||
table_comment AS TABLE_COMMENT
|
||||
|
Loading…
Reference in New Issue
Block a user