You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@impala.apache.org by "LiPenglin (Jira)" <ji...@apache.org> on 2022/08/22 08:53:00 UTC

[jira] [Resolved] (IMPALA-11408) ERROR IllegalStateException when INSERT INTO partitioned Iceberg table

     [ https://issues.apache.org/jira/browse/IMPALA-11408?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

LiPenglin resolved IMPALA-11408.
--------------------------------
    Resolution: Resolved

> ERROR IllegalStateException when INSERT INTO partitioned Iceberg table 
> -----------------------------------------------------------------------
>
>                 Key: IMPALA-11408
>                 URL: https://issues.apache.org/jira/browse/IMPALA-11408
>             Project: IMPALA
>          Issue Type: Bug
>            Reporter: LiPenglin
>            Assignee: LiPenglin
>            Priority: Major
>              Labels: impala-iceberg
>
> {code:java}
> CREATE TABLE ice_tbl_a(
>   level STRING,
>   event_time int,
>   register_time DATE
> ) PARTITIONED BY SPEC (level, TRUNCATE(10, level), event_time) STORED AS ICEBERG;
> insert into table ice_tbl_a(level) values('123');
> ERROR: IllegalStateException: null {code}
> Eventually the data should be written to `$DB/$TBL/data/level=123/level_trunc=123/event_time=__HIVE_DEFAULT_PARTITION__/xx_data.0. parq` instead of throwing an exception.



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