Zoltán Borók-Nagy created IMPALA-13591:
------------------------------------------
Summary: 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
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)