ClickHouse/tests/queries/0_stateless/00972_desc_table_virtual_columns.sql

10 lines
257 B
MySQL
Raw Normal View History

2019-07-17 17:23:06 +00:00
-- No virtual columns should be output in DESC TABLE query.
DROP TABLE IF EXISTS upyachka;
CREATE TABLE upyachka (x UInt64) ENGINE = Memory;
-- Merge table has virtual column `_table`
DESC TABLE merge(currentDatabase(), 'upyachka');
DROP TABLE upyachka;