2022-08-10 14:29:50 +00:00
|
|
|
-- Tags: no-fasttest
|
|
|
|
|
2022-08-05 16:20:15 +00:00
|
|
|
insert into function file('02374_data1.jsonl') select number as x, 'str' as s from numbers(10);
|
|
|
|
insert into function file('02374_data2.jsonl') select number as x, 'str' as s from numbers(10);
|
|
|
|
|
|
|
|
desc system.schema_inference_cache;
|
|
|
|
system drop schema cache for file;
|
|
|
|
|
|
|
|
desc file('02374_data1.jsonl');
|
|
|
|
desc file('02374_data2.jsonl');
|
|
|
|
|
|
|
|
select storage, splitByChar('/', source)[-1], format, schema from system.schema_inference_cache where storage='File';
|
|
|
|
system drop schema cache for file;
|
|
|
|
select storage, source, format, schema from system.schema_inference_cache where storage='File';
|