SHOW VIRTUAL COLUMNS
Introduced or updated: v1.2.271
VIRTUAL COLUMN is an Enterprise Edition feature. Contact Databend Support for a license.
Shows the created virtual columns in the system. Equivalent to SELECT * FROM system.virtual_columns
.
See also: system.virtual_columns
Syntax
SHOW VIRTUAL COLUMNS [ LIKE '<pattern>' | WHERE <expr> ] | [ LIMIT <limit> ]
Example
SHOW VIRTUAL COLUMNS;
┌─────────────────────────────────────────────────────────────────────────────┐
│ database │ table │ virtual_columns │
├──────────┼────────┼─────────────────────────────────────────────────────────┤
│ default │ test │ val['name'], val['pricings'][0]['type'], val['tags'][0] │
└─────────────────────────────────────────────────────────────────────────────┘