This is an automated email from the ASF dual-hosted git repository.
Gabriel39 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 a19cda99d9c [fix](regression) Isolate S3 TVF insert paths (#65147)
a19cda99d9c is described below
commit a19cda99d9cd441e8894ba4ffc23d9c15c54e41e
Author: Gabriel <[email protected]>
AuthorDate: Thu Jul 2 18:21:09 2026 +0800
[fix](regression) Isolate S3 TVF insert paths (#65147)
The S3 TVF insert regression case wrote all runs under
a fixed regression/insert_tvf_test prefix while also using
delete_existing_files=true and wildcard reads. Concurrent regression
jobs could delete each other directories or infer schema from another
run files, causing flaky mismatches or missing columns. This change
gives each suite run a UUID-scoped S3 prefix and uses that same prefix
for both writes and reads, so deletes and wildcard reads are isolated to
the current run.
---
.../external_table_p0/tvf/insert/test_insert_into_s3_tvf.groovy | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git
a/regression-test/suites/external_table_p0/tvf/insert/test_insert_into_s3_tvf.groovy
b/regression-test/suites/external_table_p0/tvf/insert/test_insert_into_s3_tvf.groovy
index 9da3f673dbb..c6b00182852 100644
---
a/regression-test/suites/external_table_p0/tvf/insert/test_insert_into_s3_tvf.groovy
+++
b/regression-test/suites/external_table_p0/tvf/insert/test_insert_into_s3_tvf.groovy
@@ -28,7 +28,8 @@ suite("test_insert_into_s3_tvf", "p0,external") {
return
}
- def s3BasePath = "${bucket}/regression/insert_tvf_test"
+ def s3BasePrefix =
"regression/insert_tvf_test/${UUID.randomUUID().toString()}"
+ def s3BasePath = "${bucket}/${s3BasePrefix}"
// file_path is now a prefix; BE generates: {prefix}{query_id}_{idx}.{ext}
def s3WriteProps = { String path, String format ->
@@ -45,7 +46,7 @@ suite("test_insert_into_s3_tvf", "p0,external") {
// Read uses wildcard to match generated file names
def s3ReadProps = { String path, String format ->
return """
- "uri" =
"https://${bucket}.${s3_endpoint}/regression/insert_tvf_test/${path}",
+ "uri" = "https://${bucket}.${s3_endpoint}/${s3BasePrefix}/${path}",
"s3.access_key" = "${ak}",
"s3.secret_key" = "${sk}",
"format" = "${format}",
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]