ClickHouse/docs/en/system_tables/system.columns.rst

14 lines
645 B
ReStructuredText
Raw Normal View History

2017-04-03 19:49:50 +00:00
system.columns
--------------
2017-04-26 17:37:55 +00:00
Contains information about the columns in all tables.
You can use this table to get information similar to ``DESCRIBE TABLE``, but for multiple tables at once.
2017-04-03 19:49:50 +00:00
::
2017-04-26 17:37:55 +00:00
database String - Name of the database the table is located in.
table String - Table name.
name String - Column name.
type String - Column type.
default_type String - Expression type (DEFAULT, MATERIALIZED, ALIAS) for the default value, or an empty string if it is not defined.
default_expression String - Expression for the default value, or an empty string if it is not defined.