[ 
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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to