This is an automated email from the ASF dual-hosted git repository. laszlog pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/impala.git
commit 492b2b7f46af8a2b0e0a868f3947916bb822e2a7 Author: Daniel Vanko <[email protected]> AuthorDate: Mon Sep 8 11:50:22 2025 +0200 IMPALA-14406: Fix test_column_case_sensitivity for newer Iceberg versions New test introduced in IMPALA-14290 depends on the Iceberg versions, because newer ones (e.g. 1.5.2) will show {"start_time_month":"646","end_time_day":"19916"} instead of {"start_time_day":null,"end_time_month":null,"start_time_month":"646","end_time_day":"19916"} The test now accepts both cases. Testing: * ran query_test/test_iceberg.py with both Iceberg 1.3.1 and 1.5.2 Change-Id: I17e368ac043d1fbf80a78dcac6ab1be5a297b6ea Reviewed-on: http://gerrit.cloudera.org:8080/23389 Reviewed-by: Impala Public Jenkins <[email protected]> Tested-by: Impala Public Jenkins <[email protected]> --- .../queries/QueryTest/iceberg-column-case-sensitivity-issue.test | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/testdata/workloads/functional-query/queries/QueryTest/iceberg-column-case-sensitivity-issue.test b/testdata/workloads/functional-query/queries/QueryTest/iceberg-column-case-sensitivity-issue.test index 3e0dd0d00..3059afd8c 100644 --- a/testdata/workloads/functional-query/queries/QueryTest/iceberg-column-case-sensitivity-issue.test +++ b/testdata/workloads/functional-query/queries/QueryTest/iceberg-column-case-sensitivity-issue.test @@ -46,9 +46,10 @@ SHOW PARTITIONS partition_case_insensitive; ---- LABELS Partition, Number Of Rows, Number Of Files ---- RESULTS -'{"start_time_day":null,"end_time_month":null,"start_time_month":"646","end_time_day":"19916"}',1,1 -'{"start_time_day":null,"end_time_month":null,"start_time_month":"647","end_time_day":"19916"}',1,1 -'{"start_time_day":null,"end_time_month":null,"start_time_month":"647","end_time_day":"19947"}',2,2 +# IMPALA-14406: in newer Iceberg versions (e.g. 1.5.2), partition values with null are not shown +regex:'{("start_time_day":null,"end_time_month":null,)?"start_time_month":"646","end_time_day":"19916"}',1,1 +regex:'{("start_time_day":null,"end_time_month":null,)?"start_time_month":"647","end_time_day":"19916"}',1,1 +regex:'{("start_time_day":null,"end_time_month":null,)?"start_time_month":"647","end_time_day":"19947"}',2,2 ---- TYPES STRING, BIGINT, BIGINT ====
