You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Denys Kuzmenko (Jira)" <ji...@apache.org> on 2023/06/13 10:52:00 UTC

[jira] [Assigned] (HIVE-27436) Iceberg: Alter table schema fails when partition spec contains columns not in the lower registry

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

Denys Kuzmenko reassigned HIVE-27436:
-------------------------------------

    Assignee: Denys Kuzmenko

> Iceberg: Alter table schema fails when partition spec contains columns not in the lower registry
> ------------------------------------------------------------------------------------------------
>
>                 Key: HIVE-27436
>                 URL: https://issues.apache.org/jira/browse/HIVE-27436
>             Project: Hive
>          Issue Type: Task
>            Reporter: Denys Kuzmenko
>            Assignee: Denys Kuzmenko
>            Priority: Major
>
> Steps to repro
> {code}
> CREATE EXTERNAL TABLE tbl_ice(ID INT, NAME STRING) 
> PARTITIONED BY (DEPT STRING) 
> STORED BY ICEBERG STORED AS PARQUET;
> INSERT INTO TABLE tbl_ice
> VALUES (1,'ONE','MATH'), (2, 'ONE','PHYSICS'), (3,'ONE','CHEMISTRY'), (4,'TWO','MATH'), (5, 'TWO','PHYSICS'), (6,'TWO','CHEMISTRY');
> ALTER TABLE tbl_ice ADD COLUMNS (emp_count int);
> {code}



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