mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-05 22:12:21 +00:00
14 lines
799 B
SQL
14 lines
799 B
SQL
-- Tags: no-parallel, no-fasttest
|
|
insert into function file(02416_data.json) select number::UInt32 as n, 'Hello' as s, range(number) as a from numbers(3) settings engine_file_truncate_on_insert=1;
|
|
desc file(02416_data.json);
|
|
select * from file(02416_data.json);
|
|
|
|
insert into function file(02416_data.jsonCompact) select number::UInt32 as n, 'Hello' as s, range(number) as a from numbers(3) settings engine_file_truncate_on_insert=1;
|
|
desc file(02416_data.jsonCompact);
|
|
select * from file(02416_data.jsonCompact);
|
|
|
|
insert into function file(02416_data.jsonColumnsWithMetadata) select number::UInt32 as n, 'Hello' as s, range(number) as a from numbers(3) settings engine_file_truncate_on_insert=1;
|
|
desc file(02416_data.jsonColumnsWithMetadata);
|
|
select * from file(02416_data.jsonColumnsWithMetadata);
|
|
|