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 ac6a3b55175 [Fix](test) Fix regression test 
"test_s3tables_write_partitions" by renaming table name. (#53294)
ac6a3b55175 is described below

commit ac6a3b5517516013647fd17447aeb5ec9dae17e1
Author: Qi Chen <[email protected]>
AuthorDate: Thu Jul 17 04:11:56 2025 +0800

    [Fix](test) Fix regression test "test_s3tables_write_partitions" by 
renaming table name. (#53294)
    
    ### What problem does this PR solve?
    
    Problem Summary:
    
    Fix regression test "test_s3tables_write_partitions" by renaming table
    name.
    Because we found that the table using the iceberg api in this test can
    be listed, but it cannot be accessed and will report that it does not
    exist. This may be caused by a bug in the previous transaction write,
    which has now been fixed. Therefore, we will change the table name first
    to see if this problem will occur again.
---
 .../iceberg/test_s3tables_write_partitions.groovy  | 26 +++++++++++-----------
 1 file changed, 13 insertions(+), 13 deletions(-)

diff --git 
a/regression-test/suites/external_table_p2/iceberg/test_s3tables_write_partitions.groovy
 
b/regression-test/suites/external_table_p2/iceberg/test_s3tables_write_partitions.groovy
index d322cd5ab03..ab3968f29bc 100644
--- 
a/regression-test/suites/external_table_p2/iceberg/test_s3tables_write_partitions.groovy
+++ 
b/regression-test/suites/external_table_p2/iceberg/test_s3tables_write_partitions.groovy
@@ -18,13 +18,13 @@
 suite("test_s3tables_write_partitions", 
"p0,external,iceberg,external_docker,external_docker_iceberg") {
     def format_compressions = ["parquet_snappy", "orc_zlib"]
 
-    def test_columns_out_of_order = {  String format_compression, String 
catalog_name ->
+    def test_s3_columns_out_of_order = {  String format_compression, String 
catalog_name ->
         def parts = format_compression.split("_")
         def format = parts[0]
         def compression = parts[1]
-        sql """ drop table if exists 
columns_out_of_order_source_tbl_${format_compression} """
+        sql """ drop table if exists 
s3_columns_out_of_order_source_tbl_${format_compression} """
         sql """
-            CREATE TABLE columns_out_of_order_source_tbl_${format_compression} 
(
+            CREATE TABLE 
s3_columns_out_of_order_source_tbl_${format_compression} (
                 `col3` bigint,
                 `col6` int,
                 `col1` bigint,
@@ -37,9 +37,9 @@ suite("test_s3tables_write_partitions", 
"p0,external,iceberg,external_docker,ext
                     "write-format"=${format}
                 )
         """;
-        sql """ drop table if exists 
columns_out_of_order_target_tbl_${format_compression} """
+        sql """ drop table if exists 
s3_columns_out_of_order_target_tbl_${format_compression} """
         sql """
-            CREATE TABLE columns_out_of_order_target_tbl_${format_compression} 
(
+            CREATE TABLE 
s3_columns_out_of_order_target_tbl_${format_compression} (
                 `col1` bigint,
                 `col2` bigint,
                 `col3` bigint,
@@ -57,23 +57,23 @@ suite("test_s3tables_write_partitions", 
"p0,external,iceberg,external_docker,ext
         """;
 
         sql """
-            INSERT INTO columns_out_of_order_source_tbl_${format_compression} (
+            INSERT INTO 
s3_columns_out_of_order_source_tbl_${format_compression} (
               col1, col2, col3, col4, col5, col6
             ) VALUES (1, 2, 3, 4, 5, 6);
             """
-        order_qt_columns_out_of_order01 """ SELECT * FROM 
columns_out_of_order_source_tbl_${format_compression} """
+        order_qt_columns_out_of_order01 """ SELECT * FROM 
s3_columns_out_of_order_source_tbl_${format_compression} """
 
         sql """
-            INSERT INTO columns_out_of_order_target_tbl_${format_compression} (
+            INSERT INTO 
s3_columns_out_of_order_target_tbl_${format_compression} (
               col1, col2, col3, col4, col5, col6
             ) VALUES (1, 2, 3, 4, 5, 6);
             """
 
-        order_qt_columns_out_of_order02 """ SELECT * FROM 
columns_out_of_order_target_tbl_${format_compression} """
+        order_qt_columns_out_of_order02 """ SELECT * FROM 
s3_columns_out_of_order_target_tbl_${format_compression} """
 
-        sql """ drop table 
columns_out_of_order_source_tbl_${format_compression} """
-        sql """ drop table 
columns_out_of_order_target_tbl_${format_compression} """
-        sql """ drop database if exists `test_columns_out_of_order` """;
+        sql """ drop table 
s3_columns_out_of_order_source_tbl_${format_compression} """
+        sql """ drop table 
s3_columns_out_of_order_target_tbl_${format_compression} """
+        sql """ drop database if exists `test_s3_columns_out_of_order` """;
     }
 
     String enabled = 
context.config.otherConfigs.get("enableExternalIcebergTest")
@@ -100,7 +100,7 @@ suite("test_s3tables_write_partitions", 
"p0,external,iceberg,external_docker,ext
     try {
         for (String format_compression in format_compressions) {
             logger.info("Process format_compression " + format_compression)
-            test_columns_out_of_order(format_compression, catalog_name)
+            test_s3_columns_out_of_order(format_compression, catalog_name)
         }
     } finally {
     }


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to