You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues-all@impala.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2026/06/12 17:07:00 UTC

[jira] [Commented] (IMPALA-14833) Iceberg V3 write-default values in MERGE statements

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

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

Commit 3af960a2665eb702aeb40b1ab5377bf6241e1593 in impala's branch refs/heads/master from Arnab Karmakar
[ https://gitbox.apache.org/repos/asf?p=impala.git;h=3af960a26 ]

IMPALA-14833: Add Iceberg V3 write-default support to MERGE INSERT

Earlier, MERGE INSERT with a column permutation that omitted
columns with write-defaults would fill them with NULL. Now, for
Iceberg tables, unmentioned columns use the write-default value
defined in the Iceberg schema metadata (falling back to NULL when
no write-default is set).

Testing:
- Added e2e tests covering:
  - MERGE INSERT with column permutation omitting a column that
    has a write-default (verifies default is applied)
  - MERGE INSERT with all columns explicit (default not used)
  - MERGE INSERT with explicit NULL (overrides write-default)
  - MERGE INSERT with all data types that support write-defaults
    (INT, BIGINT, FLOAT, DOUBLE, STRING, DATE, BOOLEAN, DECIMAL)

Change-Id: I5d2960b1517c67eaece001875079041d33b19cec
Reviewed-on: http://gerrit.cloudera.org:8080/24424
Reviewed-by: Impala Public Jenkins <im...@cloudera.com>
Tested-by: Impala Public Jenkins <im...@cloudera.com>


> Iceberg V3 write-default values in MERGE statements
> ---------------------------------------------------
>
>                 Key: IMPALA-14833
>                 URL: https://issues.apache.org/jira/browse/IMPALA-14833
>             Project: IMPALA
>          Issue Type: Improvement
>            Reporter: Arnab Karmakar
>            Assignee: Arnab Karmakar
>            Priority: Major
>
> The MERGE statement should support Iceberg V3 write-default values similar to INSERT statements. Currently, IMPALA-14589 adds support for initial-default and write-default in INSERT statements via InsertStmt.java, but MERGE statements do not yet apply write-default when columns are unmentioned in UPDATE or INSERT clauses.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscribe@impala.apache.org
For additional commands, e-mail: issues-all-help@impala.apache.org