[ 
https://issues.apache.org/jira/browse/IMPALA-14937?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18080992#comment-18080992
 ] 

ASF subversion and git services commented on IMPALA-14937:
----------------------------------------------------------

Commit 44376d85925fe04a5e78b184f52183d0ea24fd49 in impala's branch 
refs/heads/master from Peter Rozsa
[ https://gitbox.apache.org/repos/asf?p=impala.git;h=44376d859 ]

IMPALA-14937: (addendum) Fix NPE on shuffle expression creation for Iceberg V3 
MERGE statements

isPartitioned() checks all historical partition specs, not just the
current default spec. A table that was created with a non-VOID partition
spec and then evolved to all-VOID still returns true from
isPartitioned().

The fix guards the partitioned V3 shuffle path with an additional
!targetPartitionExpressions_.isEmpty() check so that a table whose
current spec has no active partition fields uses PARTITION__SPEC__ID
and ICEBERG__PARTITION__SERIALIZED for shuffling.

Testing:
 - Added a new test case to iceberg-v3-merge.test.

Change-Id: Ia2b0b86deac12e2566d5c24561e120e30b3b6739
Reviewed-on: http://gerrit.cloudera.org:8080/24303
Reviewed-by: Zoltan Borok-Nagy <[email protected]>
Tested-by: Impala Public Jenkins <[email protected]>


> Enable MERGE statement for Iceberg V3 tables
> --------------------------------------------
>
>                 Key: IMPALA-14937
>                 URL: https://issues.apache.org/jira/browse/IMPALA-14937
>             Project: IMPALA
>          Issue Type: Sub-task
>            Reporter: Peter Rozsa
>            Assignee: Peter Rozsa
>            Priority: Major
>




--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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

Reply via email to