[ 
https://issues.apache.org/jira/browse/HIVE-23023?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17060726#comment-17060726
 ] 

László Pintér commented on HIVE-23023:
--------------------------------------

Pushed to master. Thanks for the patch [~klcopp].

> MR compaction ignores column schema evolution
> ---------------------------------------------
>
>                 Key: HIVE-23023
>                 URL: https://issues.apache.org/jira/browse/HIVE-23023
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Karen Coppage
>            Assignee: Karen Coppage
>            Priority: Major
>         Attachments: HIVE-23023.01.patch, HIVE-23023.02.patch, 
> HIVE-23023.03.patch
>
>
> Repro:
> {code:java}
> create table compaction_error(i int)
>  partitioned by (`part1` string)
>  stored as orc
>  TBLPROPERTIES ('transactional'='true');
> insert into table compaction_error values (1, 'aa');
> ALTER TABLE compaction_error ADD COLUMNS (newcol string);
> insert into table compaction_error values (2, 2000, 'aa');
> alter table compaction_error partition (part1='aa') compact 'minor'; --or 
> major
> {code}
> data row will look like:
> {code:java}
> 1, NULL, 'aa'
> 2, NULL, 'aa'
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to