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

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

commit 09bf6dacde0ca045cfd524a822cd43e0ff942332
Author: Zoltan Borok-Nagy <[email protected]>
AuthorDate: Thu Nov 21 16:41:13 2024 +0100

    IMPALA-13561: test_read_mixed_format_position_deletes fails with newer Hive 
versions
    
    test_read_mixed_format_position_deletes can fail with newer Hive
    versions as they name files differently. E.g. data files don't have
    "data" in their filenames anymore.
    
    This patch updates the test file.
    
    Change-Id: Ic1dc5e62f5b8c0a7aaa54939831561ed5490b6db
    Reviewed-on: http://gerrit.cloudera.org:8080/22089
    Reviewed-by: Impala Public Jenkins <[email protected]>
    Tested-by: Impala Public Jenkins <[email protected]>
---
 .../iceberg-mixed-format-position-deletes.test       | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)

diff --git 
a/testdata/workloads/functional-query/queries/QueryTest/iceberg-mixed-format-position-deletes.test
 
b/testdata/workloads/functional-query/queries/QueryTest/iceberg-mixed-format-position-deletes.test
index aee6a04d4..056030f57 100644
--- 
a/testdata/workloads/functional-query/queries/QueryTest/iceberg-mixed-format-position-deletes.test
+++ 
b/testdata/workloads/functional-query/queries/QueryTest/iceberg-mixed-format-position-deletes.test
@@ -19,11 +19,11 @@ refresh ice_mixed_formats;
 ---- QUERY
 SHOW FILES IN ice_mixed_formats;
 ---- RESULTS: VERIFY_IS_SUBSET
-row_regex:'$NAMENODE/test-warehouse/$DATABASE.db/ice_mixed_formats/data/.*-data-.*.parquet','.*B','','.*'
-row_regex:'$NAMENODE/test-warehouse/$DATABASE.db/ice_mixed_formats/data/.*-delete-.*parquet','.*B','','.*'
-row_regex:'$NAMENODE/test-warehouse/$DATABASE.db/ice_mixed_formats/data/.*-data-.*.orc','.*B','','.*'
-row_regex:'$NAMENODE/test-warehouse/$DATABASE.db/ice_mixed_formats/data/.*-delete-.*orc','.*B','','.*'
-row_regex:'$NAMENODE/test-warehouse/$DATABASE.db/ice_mixed_formats/data/.*-delete-.*.avro','.*B','','.*'
+row_regex:'$NAMENODE/test-warehouse/$DATABASE.db/ice_mixed_formats/data/.*(?!delete).*.parquet','.*B','','.*'
+row_regex:'$NAMENODE/test-warehouse/$DATABASE.db/ice_mixed_formats/data/.*-delete.*parquet','.*B','','.*'
+row_regex:'$NAMENODE/test-warehouse/$DATABASE.db/ice_mixed_formats/data/.*(?!delete).*.orc','.*B','','.*'
+row_regex:'$NAMENODE/test-warehouse/$DATABASE.db/ice_mixed_formats/data/.*-delete.*orc','.*B','','.*'
+row_regex:'$NAMENODE/test-warehouse/$DATABASE.db/ice_mixed_formats/data/.*-delete.*.avro','.*B','','.*'
 ---- TYPES
 STRING, STRING, STRING, STRING
 ====
@@ -83,11 +83,11 @@ refresh ice_mixed_formats_partitioned;
 ---- QUERY
 SHOW FILES IN ice_mixed_formats_partitioned;
 ---- RESULTS: VERIFY_IS_SUBSET
-row_regex:'$NAMENODE/test-warehouse/$DATABASE.db/ice_mixed_formats_partitioned/data/j_trunc=0/.*-data-.*.parquet','.*B','','.*'
-row_regex:'$NAMENODE/test-warehouse/$DATABASE.db/ice_mixed_formats_partitioned/data/j_trunc=0/.*-delete-.*parquet','.*B','','.*'
-row_regex:'$NAMENODE/test-warehouse/$DATABASE.db/ice_mixed_formats_partitioned/data/j_trunc=2/.*-data-.*.orc','.*B','','.*'
-row_regex:'$NAMENODE/test-warehouse/$DATABASE.db/ice_mixed_formats_partitioned/data/j_trunc=2/.*-delete-.*orc','.*B','','.*'
-row_regex:'$NAMENODE/test-warehouse/$DATABASE.db/ice_mixed_formats_partitioned/data/j_trunc=2/.*-delete-.*.avro','.*B','','.*'
+row_regex:'$NAMENODE/test-warehouse/$DATABASE.db/ice_mixed_formats_partitioned/data/j_trunc=0/.*(?!delete).*.parquet','.*B','','.*'
+row_regex:'$NAMENODE/test-warehouse/$DATABASE.db/ice_mixed_formats_partitioned/data/j_trunc=0/.*-delete.*parquet','.*B','','.*'
+row_regex:'$NAMENODE/test-warehouse/$DATABASE.db/ice_mixed_formats_partitioned/data/j_trunc=2/.*(?!delete).*.orc','.*B','','.*'
+row_regex:'$NAMENODE/test-warehouse/$DATABASE.db/ice_mixed_formats_partitioned/data/j_trunc=2/.*-delete.*orc','.*B','','.*'
+row_regex:'$NAMENODE/test-warehouse/$DATABASE.db/ice_mixed_formats_partitioned/data/j_trunc=2/.*-delete.*.avro','.*B','','.*'
 ---- TYPES
 STRING, STRING, STRING, STRING
 ====

Reply via email to