ClickHouse/tests/queries/0_stateless/02223_insert_select_schema_inference.sql

6 lines
314 B
MySQL
Raw Normal View History

drop table if exists test;
create table test (x UInt32, y String, d Date) engine=Memory() as select number as x, toString(number) as y, toDate(number) as d from numbers(10);
insert into table function file('data.native.zst') select * from test;
desc file('data.native.zst');
select * from file('data.native.zst');