@@ -20,10 +20,15 @@ EXPLAIN SELECT number FROM system.numbers n JOIN (SELECT * FROM s3('http://local
2020SELECT count () FROM s3(' http://localhost:11111/test/a.tsv' , ' TSV' );
2121
2222DROP TABLE IF EXISTS dupe_test_with_auto_functions;
23- CREATE TABLE dupe_test_with_auto_functions (c1 String, c2 String, c3 String) ENGINE = MergeTree ORDER BY c1 ;
23+ CREATE TABLE dupe_test_with_auto_functions (n1 String, n2 String, n3 String) ENGINE = MergeTree ORDER BY n1 ;
2424INSERT INTO dupe_test_with_auto_functions SELECT * FROM s3(' http://localhost:11111/test/a.tsv' , ' TSV' );
2525SELECT count () FROM dupe_test_with_auto_functions;
2626
27+ DROP TABLE IF EXISTS insert_with_url_function;
28+ CREATE TABLE insert_with_url_function (n1 String, n2 String, n3 String) ENGINE = MergeTree ORDER BY n1;
29+ INSERT INTO insert_with_url_function SELECT * FROM url(' http://localhost:11111/test/a.tsv' , ' TSV' );
30+ SELECT count () FROM insert_with_url_function;
31+
2732
2833SET parallel_replicas_for_cluster_engines= false;
2934
@@ -33,11 +38,11 @@ EXPLAIN SELECT * FROM s3('http://localhost:11111/test/a.tsv', 'TSV');
3338SELECT count () FROM s3(' http://localhost:11111/test/a.tsv' , ' TSV' );
3439
3540DROP TABLE IF EXISTS dupe_test_without_cluster_functions;
36- CREATE TABLE dupe_test_without_cluster_functions (c1 String, c2 String, c3 String) ENGINE = MergeTree ORDER BY c1 ;
41+ CREATE TABLE dupe_test_without_cluster_functions (n1 String, n2 String, n3 String) ENGINE = MergeTree ORDER BY n1 ;
3742INSERT INTO dupe_test_without_cluster_functions SELECT * FROM s3(' http://localhost:11111/test/a.tsv' , ' TSV' );
3843SELECT count () FROM dupe_test_without_cluster_functions;
3944
4045DROP TABLE IF EXISTS dupe_test_with_cluster_function;
41- CREATE TABLE dupe_test_with_cluster_function (c1 String, c2 String, c3 String) ENGINE = MergeTree ORDER BY c1 ;
46+ CREATE TABLE dupe_test_with_cluster_function (n1 String, n2 String, n3 String) ENGINE = MergeTree ORDER BY n1 ;
4247INSERT INTO dupe_test_with_cluster_function SELECT * FROM s3Cluster(' test_cluster_two_shards' , ' http://localhost:11111/test/a.tsv' , ' TSV' );
4348SELECT count () FROM dupe_test_with_cluster_function;
0 commit comments