ClickHouse/tests/queries/0_stateless/02245_s3_virtual_columns.reference

16 lines
566 B
Plaintext
Raw Normal View History

2022-03-28 19:18:20 +00:00
-- { echo }
drop table if exists test_02245;
create table test_02245 (a UInt64) engine = S3(s3_conn, filename='test_02245', format=Parquet);
insert into test_02245 select 1 settings s3_truncate_on_insert=1;
select * from test_02245;
1
select _path from test_02245;
2022-03-30 15:34:07 +00:00
test/test_02245
2022-03-28 19:18:20 +00:00
drop table if exists test_02245_2;
create table test_02245_2 (a UInt64, _path Int32) engine = S3(s3_conn, filename='test_02245_2', format=Parquet);
insert into test_02245_2 select 1, 2 settings s3_truncate_on_insert=1;
select * from test_02245_2;
1 2
select _path from test_02245_2;
2