This is an automated email from the ASF dual-hosted git repository.
morningman pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/master by this push:
new 74becf00d7e [Test](regression-test): do not use path style to access
aliyun OSS (#35725)
74becf00d7e is described below
commit 74becf00d7eab16ef8bb304f8328ce5f64c99565
Author: Thearas <[email protected]>
AuthorDate: Sat Jun 1 22:52:52 2024 +0800
[Test](regression-test): do not use path style to access aliyun OSS (#35725)
This PR continues <https://github.com/apache/doris/pull/35666>.
---
.../outfile/csv/test_outfile_empty_data.groovy | 2 +-
.../export_p2/test_export_with_parallelism.groovy | 2 +-
.../suites/external_table_p0/tvf/test_s3_tvf.groovy | 2 +-
.../tvf/test_s3_tvf_compression.groovy | 20 ++++++++++----------
.../tvf/test_s3_tvf_with_resource.groovy | 4 ++--
.../tvf/test_path_partition_keys.groovy | 8 ++++----
6 files changed, 19 insertions(+), 19 deletions(-)
diff --git
a/regression-test/suites/export_p0/outfile/csv/test_outfile_empty_data.groovy
b/regression-test/suites/export_p0/outfile/csv/test_outfile_empty_data.groovy
index 1b12114501a..d8da398ea81 100644
---
a/regression-test/suites/export_p0/outfile/csv/test_outfile_empty_data.groovy
+++
b/regression-test/suites/export_p0/outfile/csv/test_outfile_empty_data.groovy
@@ -157,7 +157,7 @@ suite("test_outfile_empty_data",
"external,hive,tvf,external_docker") {
"SECRET_KEY" = "${sk}",
"format" = "${format}",
"region" = "${region}",
- "use_path_style" = "true"
+ "use_path_style" = "false" -- aliyun does not support
path_style
);
"""
diff --git
a/regression-test/suites/export_p2/test_export_with_parallelism.groovy
b/regression-test/suites/export_p2/test_export_with_parallelism.groovy
index a1dc1c73732..f73010d8336 100644
--- a/regression-test/suites/export_p2/test_export_with_parallelism.groovy
+++ b/regression-test/suites/export_p2/test_export_with_parallelism.groovy
@@ -133,7 +133,7 @@ suite("test_export_with_parallelism", "p2") {
"s3.secret_key" = "${sk}",
"format" = "${format}",
"region" = "${region}",
- "use_path_style" = "true"
+ "use_path_style" = "false" -- aliyun does not support
path_style
);
"""
}
diff --git a/regression-test/suites/external_table_p0/tvf/test_s3_tvf.groovy
b/regression-test/suites/external_table_p0/tvf/test_s3_tvf.groovy
index 2d6ec9a273e..67dc94d32d0 100644
--- a/regression-test/suites/external_table_p0/tvf/test_s3_tvf.groovy
+++ b/regression-test/suites/external_table_p0/tvf/test_s3_tvf.groovy
@@ -111,7 +111,7 @@ suite("test_s3_tvf", "p0") {
"s3.access_key"= "${ak}",
"s3.secret_key" = "${sk}",
"format" = "orc",
- "use_path_style" = "true",
+ "use_path_style" = "false", -- aliyun does not
support path_style
"region" = "${region}"
);
"""
diff --git
a/regression-test/suites/external_table_p0/tvf/test_s3_tvf_compression.groovy
b/regression-test/suites/external_table_p0/tvf/test_s3_tvf_compression.groovy
index 5eb63c94ddc..2975f4f0cc9 100644
---
a/regression-test/suites/external_table_p0/tvf/test_s3_tvf_compression.groovy
+++
b/regression-test/suites/external_table_p0/tvf/test_s3_tvf_compression.groovy
@@ -35,7 +35,7 @@ suite("test_s3_tvf_compression", "p0") {
"REGION" = "${region}",
"FORMAT" = "csv",
"column_separator" = ",",
- "use_path_style" = "true",
+ "use_path_style" = "false", -- aliyun does not support path_style
"compress_type" ="${compress_type}") order by c1,c2,c3,c4,c5 limit 20;
"""
@@ -49,7 +49,7 @@ suite("test_s3_tvf_compression", "p0") {
"REGION" = "${region}",
"FORMAT" = "csv",
"column_separator" = ",",
- "use_path_style" = "true",
+ "use_path_style" = "false", -- aliyun does not support path_style
"compress_type" ="${compress_type}") order by cast(c1 as int),c4 limit
20;
"""
@@ -65,7 +65,7 @@ suite("test_s3_tvf_compression", "p0") {
"REGION" = "${region}",
"FORMAT" = "csv",
"column_separator" = ",",
- "use_path_style" = "true",
+ "use_path_style" = "false", -- aliyun does not support path_style
"compress_type" ="${compress_type}") order by c1,c2,c3,c4,c5 limit 15;
"""
@@ -79,7 +79,7 @@ suite("test_s3_tvf_compression", "p0") {
"REGION" = "${region}",
"FORMAT" = "csv",
"column_separator" = ",",
- "use_path_style" = "true",
+ "use_path_style" = "false", -- aliyun does not support path_style
"compress_type" ="${compress_type}") where c1!="100" order by
cast(c4 as date),c1 limit 13;
"""
@@ -95,7 +95,7 @@ suite("test_s3_tvf_compression", "p0") {
"REGION" = "${region}",
"FORMAT" = "csv",
"column_separator" = ",",
- "use_path_style" = "true",
+ "use_path_style" = "false", -- aliyun does not support path_style
"compress_type" ="${compress_type}FRAME") order by c1,c2,c3,c4,c5
limit 14;
"""
@@ -109,7 +109,7 @@ suite("test_s3_tvf_compression", "p0") {
"REGION" = "${region}",
"FORMAT" = "csv",
"column_separator" = ",",
- "use_path_style" = "true",
+ "use_path_style" = "false", -- aliyun does not support path_style
"compress_type" ="${compress_type}FRAME") where
c3="buHDwfGeNHfpRFdNaogneddi" order by c3,c1 limit 14;
"""
@@ -126,7 +126,7 @@ suite("test_s3_tvf_compression", "p0") {
"s3.secret_key" = "${sk}",
"REGION" = "${region}",
"FORMAT" = "csv",
- "use_path_style" = "true",
+ "use_path_style" = "false", -- aliyun does not support path_style
"column_separator" = '\001',
"compress_type" ="${compress_type}") ${orderBy_limit};
"""
@@ -140,7 +140,7 @@ suite("test_s3_tvf_compression", "p0") {
"REGION" = "${region}",
"FORMAT" = "csv",
"column_separator" = '\001',
- "use_path_style" = "true",
+ "use_path_style" = "false", -- aliyun does not support path_style
"compress_type" ="${compress_type}") group by c1,c2 order by c1,c2
limit 5;
"""
@@ -156,7 +156,7 @@ suite("test_s3_tvf_compression", "p0") {
"s3.secret_key" = "${sk}",
"REGION" = "${region}",
"FORMAT" = "csv",
- "use_path_style" = "true",
+ "use_path_style" = "false", -- aliyun does not support path_style
"column_separator" = '\001',
"compress_type" ="${compress_type}block") ${orderBy_limit};
"""
@@ -170,7 +170,7 @@ suite("test_s3_tvf_compression", "p0") {
"s3.secret_key" = "${sk}",
"REGION" = "${region}",
"FORMAT" = "csv",
- "use_path_style" = "true",
+ "use_path_style" = "false", -- aliyun does not support path_style
"column_separator" = '\001',
"compress_type" ="${compress_type}block") where c2 ="abccc";
"""
diff --git
a/regression-test/suites/external_table_p0/tvf/test_s3_tvf_with_resource.groovy
b/regression-test/suites/external_table_p0/tvf/test_s3_tvf_with_resource.groovy
index d5385aaff06..cc25c683f76 100644
---
a/regression-test/suites/external_table_p0/tvf/test_s3_tvf_with_resource.groovy
+++
b/regression-test/suites/external_table_p0/tvf/test_s3_tvf_with_resource.groovy
@@ -101,7 +101,7 @@ suite("test_s3_tvf_with_resource", "p0") {
order_qt_select_1 """ SELECT * FROM S3 (
"uri" =
"http://${bucket}.${s3_endpoint}${outfile_url.substring(5 + bucket.length(),
outfile_url.length() - 1)}0.orc",
"format" = "orc",
- "use_path_style" = "true",
+ "use_path_style" = "false", -- aliyun does not
support path_style
"resource" = "${resource_name}"
);
"""
@@ -125,7 +125,7 @@ suite("test_s3_tvf_with_resource", "p0") {
order_qt_select_3 """ SELECT * FROM S3 (
"uri" =
"http://${bucket}.${s3_endpoint}${outfile_url.substring(5 + bucket.length(),
outfile_url.length() - 1)}0.orc",
"format" = "orc",
- "use_path_style" = "true",
+ "use_path_style" = "false", -- aliyun does not
support path_style
"resource" = "${resource_name}"
);
"""
diff --git
a/regression-test/suites/external_table_p2/tvf/test_path_partition_keys.groovy
b/regression-test/suites/external_table_p2/tvf/test_path_partition_keys.groovy
index a859d1efb9b..985ef5c6873 100644
---
a/regression-test/suites/external_table_p2/tvf/test_path_partition_keys.groovy
+++
b/regression-test/suites/external_table_p2/tvf/test_path_partition_keys.groovy
@@ -135,7 +135,7 @@ suite("test_path_partition_keys",
"p2,external,tvf,external_remote,external_remo
"s3.secret_key" = "${sk}",
"FORMAT" = "csv",
"column_separator" = ",",
- "use_path_style" = "true",
+ "use_path_style" = "false", -- aliyun does not support path_style
"path_partition_keys"="dt1")
"""
@@ -149,7 +149,7 @@ suite("test_path_partition_keys",
"p2,external,tvf,external_remote,external_remo
"s3.secret_key" = "${sk}",
"FORMAT" = "csv",
"column_separator" = ",",
- "use_path_style" = "true",
+ "use_path_style" = "false", -- aliyun does not support path_style
"path_partition_keys"="dt1") limit 3;
"""
@@ -162,7 +162,7 @@ suite("test_path_partition_keys",
"p2,external,tvf,external_remote,external_remo
"s3.secret_key" = "${sk}",
"FORMAT" = "csv",
"column_separator" = ",",
- "use_path_style" = "true",
+ "use_path_style" = "false", -- aliyun does not support path_style
"path_partition_keys"="dt1") limit 3;
"""
@@ -174,7 +174,7 @@ suite("test_path_partition_keys",
"p2,external,tvf,external_remote,external_remo
"s3.access_key" = "${ak}",
"s3.secret_key" = "${sk}",
"FORMAT" = "csv",
- "use_path_style" = "true",
+ "use_path_style" = "false", -- aliyun does not support path_style
"column_separator" = ",",
"path_partition_keys"="dt2,dt1") limit 3;
"""
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]