2022-09-08 16:07:20 +00:00
|
|
|
-- 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);
|
|
|
|
|
2022-09-08 17:58:44 +00:00
|
|
|
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);
|
|
|
|
|