This commit is contained in:
Nikita Taranov 2024-11-19 19:43:56 +01:00
parent 240c05b128
commit 1c5d0c7f93

View File

@ -18,14 +18,11 @@ SELECT * FROM s3Cluster('test_cluster_two_shards_localhost', s3_conn, filename='
-- Empty "directory" files created implicitly by S3 console: -- Empty "directory" files created implicitly by S3 console:
-- https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-folders.html -- https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-folders.html
SELECT * SELECT *
FROM s3('https://datasets-documentation.s3.eu-west-3.amazonaws.com/amazon_reviews/*', NOSIGN) FROM s3('https://clickhouse-public-datasets.s3.amazonaws.com/wikistat/original/*', NOSIGN)
LIMIT 1 LIMIT 1
FORMAT Null FORMAT Null;
SETTINGS s3_skip_empty_files = 1;
-- TODO: Still doesn't work SELECT *
-- SELECT * FROM s3Cluster('test_cluster_two_shards_localhost', 'https://clickhouse-public-datasets.s3.amazonaws.com/wikistat/original/*', NOSIGN)
-- FROM s3Cluster('test_cluster_two_shards_localhost', 'https://datasets-documentation.s3.eu-west-3.amazonaws.com/amazon_reviews/*', NOSIGN) LIMIT 1
-- LIMIT 1 Format Null;
-- FORMAT Null
-- SETTINGS s3_skip_empty_files = 1;