mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-24 00:22:29 +00:00
upd test
This commit is contained in:
parent
3a012e5a96
commit
240c05b128
@ -6,3 +6,11 @@
|
||||
1
|
||||
2
|
||||
3
|
||||
0
|
||||
1
|
||||
2
|
||||
3
|
||||
0
|
||||
1
|
||||
2
|
||||
3
|
||||
|
@ -12,6 +12,9 @@ INSERT INTO FUNCTION s3(s3_conn, filename='dir1/03271_s3_table_function_asterisk
|
||||
SELECT * FROM s3(s3_conn, filename='dir1/03271_s3_table_function_asterisk_glob/*') ORDER BY ALL SETTINGS max_threads = 1;
|
||||
SELECT * FROM s3(s3_conn, filename='dir1/03271_s3_table_function_asterisk_glob/*') ORDER BY ALL SETTINGS max_threads = 4;
|
||||
|
||||
SELECT * FROM s3Cluster('test_cluster_two_shards_localhost', s3_conn, filename='dir1/03271_s3_table_function_asterisk_glob/*') ORDER BY ALL SETTINGS max_threads = 1;
|
||||
SELECT * FROM s3Cluster('test_cluster_two_shards_localhost', s3_conn, filename='dir1/03271_s3_table_function_asterisk_glob/*') ORDER BY ALL SETTINGS max_threads = 4;
|
||||
|
||||
-- Empty "directory" files created implicitly by S3 console:
|
||||
-- https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-folders.html
|
||||
SELECT *
|
||||
@ -19,3 +22,10 @@ FROM s3('https://datasets-documentation.s3.eu-west-3.amazonaws.com/amazon_review
|
||||
LIMIT 1
|
||||
FORMAT Null
|
||||
SETTINGS s3_skip_empty_files = 1;
|
||||
|
||||
-- TODO: Still doesn't work
|
||||
-- SELECT *
|
||||
-- FROM s3Cluster('test_cluster_two_shards_localhost', 'https://datasets-documentation.s3.eu-west-3.amazonaws.com/amazon_reviews/*', NOSIGN)
|
||||
-- LIMIT 1
|
||||
-- FORMAT Null
|
||||
-- SETTINGS s3_skip_empty_files = 1;
|
||||
|
Loading…
Reference in New Issue
Block a user