You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@impala.apache.org by st...@apache.org on 2022/05/04 05:30:11 UTC

[impala] 01/02: IMPALA-11276: Fix TestIcebergTable.test_partitioned_insert became flaky

This is an automated email from the ASF dual-hosted git repository.

stigahuang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/impala.git

commit 5a73401f3e3d27423109ad0478320efca7a459af
Author: LPL <li...@sensorsdata.cn>
AuthorDate: Tue May 3 00:25:31 2022 +0800

    IMPALA-11276: Fix TestIcebergTable.test_partitioned_insert became flaky
    
    TestIcebergTable.Test_partitioned_insert test is not stable because
    SHOW FILES on Iceberg table will sort the list of FILES. So restore the
    original VERIFY_IS_SUBSET for some flaky cases.
    
    Change-Id: Ic38b399ab51903edb59b3f2d1066cd5f5cbff4d4
    Reviewed-on: http://gerrit.cloudera.org:8080/18465
    Reviewed-by: Zoltan Borok-Nagy <bo...@cloudera.com>
    Tested-by: Impala Public Jenkins <im...@cloudera.com>
---
 .../queries/QueryTest/iceberg-partitioned-insert.test             | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/testdata/workloads/functional-query/queries/QueryTest/iceberg-partitioned-insert.test b/testdata/workloads/functional-query/queries/QueryTest/iceberg-partitioned-insert.test
index cf8ab7c97..8ae4e66dd 100644
--- a/testdata/workloads/functional-query/queries/QueryTest/iceberg-partitioned-insert.test
+++ b/testdata/workloads/functional-query/queries/QueryTest/iceberg-partitioned-insert.test
@@ -325,7 +325,7 @@ INT, DATE, STRING
 show files in ice_alter_part;
 ---- LABELS
 Path,Size,Partition
----- RESULTS
+---- RESULTS: VERIFY_IS_SUBSET
 row_regex:'$NAMENODE/test-warehouse/$DATABASE.db/ice_alter_part/data/[^=]*.0.parq','.*',''
 row_regex:'$NAMENODE/test-warehouse/$DATABASE.db/ice_alter_part/data/i=3/d=2020-12-09/.*.0.parq','.*',''
 row_regex:'$NAMENODE/test-warehouse/$DATABASE.db/ice_alter_part/data/i=4/d=2020-12-10/.*.0.parq','.*',''
@@ -379,7 +379,7 @@ INT, STRING, DATE
 show files in ice_void;
 ---- LABELS
 Path,Size,Partition
----- RESULTS
+---- RESULTS: VERIFY_IS_SUBSET
 row_regex:'$NAMENODE/test-warehouse/$DATABASE.db/ice_void/data/s_trunc=o/d_year=2001/.*.0.parq','.*',''
 row_regex:'$NAMENODE/test-warehouse/$DATABASE.db/ice_void/data/s_trunc=t/d_year=2002/.*.0.parq','.*',''
 row_regex:'$NAMENODE/test-warehouse/$DATABASE.db/ice_void/data/s_trunc=t/d_year=2003/.*.0.parq','.*',''
@@ -406,7 +406,7 @@ INT, STRING, DATE
 show files in ice_void;
 ---- LABELS
 Path,Size,Partition
----- RESULTS
+---- RESULTS: VERIFY_IS_SUBSET
 row_regex:'$NAMENODE/test-warehouse/$DATABASE.db/ice_void/data/s_trunc=o/d_year=2001/.*.0.parq','.*',''
 row_regex:'$NAMENODE/test-warehouse/$DATABASE.db/ice_void/data/s_trunc=t/d_year=2002/.*.0.parq','.*',''
 row_regex:'$NAMENODE/test-warehouse/$DATABASE.db/ice_void/data/s_trunc=t/d_year=2003/.*.0.parq','.*',''
@@ -436,7 +436,7 @@ INT, STRING, DATE
 show files in ice_void;
 ---- LABELS
 Path,Size,Partition
----- RESULTS
+---- RESULTS: VERIFY_IS_SUBSET
 row_regex:'$NAMENODE/test-warehouse/$DATABASE.db/ice_void/data/s_trunc=o/d_year=2001/.*.0.parq','.*',''
 row_regex:'$NAMENODE/test-warehouse/$DATABASE.db/ice_void/data/s_trunc=t/d_year=2002/.*.0.parq','.*',''
 row_regex:'$NAMENODE/test-warehouse/$DATABASE.db/ice_void/data/s_trunc=t/d_year=2003/.*.0.parq','.*',''