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/05/14 09:55:00 UTC

[jira] [Commented] (IMPALA-14589) Iceberg V3 default values

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

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

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

IMPALA-14589: [Part 2] Add comprehensive type support for Iceberg initial-default values

This patch adds support for initial-default values across all primitive
types in Iceberg V3 tables, addressing limitations where only numeric
types were previously handled correctly.

Background:
Iceberg stores default values in metadata.json, but the Iceberg Literal
API returns internal representations that differ from what Impala's
TextConverter expects for parsing. For example, DATE is stored as an
ISO-8601 string in JSON but Literal.value() returns an Integer
(days since epoch), and TIMESTAMP returns microseconds as a Long.

Testing:
- Added iceberg_v3_all_types test table with initial-default values for
  all primitive types: BOOLEAN, INT, BIGINT, FLOAT, DOUBLE,
  DECIMAL, STRING, DATE, TIMESTAMP and BINARY
- Added positive test cases for supported types
- Added negative test case for BINARY and TIMESTAMPTZ type rejection
- Updated testdata/data/README with table documentation

Change-Id: I1c591d5dbf305176dd802c6f5f811c0de98aac0c
Reviewed-on: http://gerrit.cloudera.org:8080/24238
Reviewed-by: Impala Public Jenkins <im...@cloudera.com>
Tested-by: Zoltan Borok-Nagy <bo...@cloudera.com>


> Iceberg V3 default values
> -------------------------
>
>                 Key: IMPALA-14589
>                 URL: https://issues.apache.org/jira/browse/IMPALA-14589
>             Project: IMPALA
>          Issue Type: New Feature
>          Components: Backend, Frontend
>            Reporter: Zoltán Borók-Nagy
>            Assignee: Arnab Karmakar
>            Priority: Major
>              Labels: impala-iceberg
>
> Implement default value support for columns.



--
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