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 "Boglarka Egyed (Jira)" <ji...@apache.org> on 2025/06/04 11:57:00 UTC

[jira] [Assigned] (IMPALA-13591) Dropping column that participated in partitioning in the past corrupts table

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

Boglarka Egyed reassigned IMPALA-13591:
---------------------------------------

    Assignee: Peter Rozsa

> Dropping column that participated in partitioning in the past corrupts table
> ----------------------------------------------------------------------------
>
>                 Key: IMPALA-13591
>                 URL: https://issues.apache.org/jira/browse/IMPALA-13591
>             Project: IMPALA
>          Issue Type: Bug
>          Components: Catalog, Frontend
>            Reporter: Zoltán Borók-Nagy
>            Assignee: Peter Rozsa
>            Priority: Major
>              Labels: impala-iceberg
>
> Dropping column that participated in partitioning in the past corrupts table.
> {noformat}
> create table ice_part (i int, p int)
> partitioned by spec (bucket(7, p))
> stored by iceberg;
> insert into ice_part values (1,1);
> -- switch partitioning to other column
> alter table ice_part set partition spec (bucket(7, i));
> alter table ice_part drop column p;
> {noformat}
> The above generates a NullPointerException. Iceberg V2 tables work a bit differently when we change partitioning, but we still get an exception (TProtocolException: Required field 'orig_field_name' was not present!).



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