mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-27 18:12:02 +00:00
add s3 tests
This commit is contained in:
parent
d6a351bf0d
commit
15b36c1ece
@ -202,7 +202,7 @@ Chunk StorageObjectStorageSource::generate()
|
||||
.size = object_info->metadata->size_bytes,
|
||||
.filename = &filename,
|
||||
.last_modified = object_info->metadata->last_modified,
|
||||
.etag = &(object_info.metadata->etag)
|
||||
.etag = &(object_info->metadata->etag)
|
||||
});
|
||||
return chunk;
|
||||
}
|
||||
|
@ -11,5 +11,5 @@ create table test_02245_2 (a UInt64, _path Int32) engine = S3(s3_conn, filename=
|
||||
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
|
||||
select _path, isNotNull(_etag) from test_02245_2;
|
||||
2 1
|
||||
|
@ -12,4 +12,4 @@ 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;
|
||||
select _path from test_02245_2;
|
||||
select _path, isNotNull(_etag) from test_02245_2;
|
||||
|
Loading…
Reference in New Issue
Block a user