[
https://issues.apache.org/jira/browse/CARBONDATA-4193?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Akash R Nilugal resolved CARBONDATA-4193.
-----------------------------------------
Fix Version/s: 2.2.0
Resolution: Fixed
> Fix compaction failure after alter add complex column.
> -------------------------------------------------------
>
> Key: CARBONDATA-4193
> URL:
https://issues.apache.org/jira/browse/CARBONDATA-4193> Project: CarbonData
> Issue Type: Bug
> Reporter: SHREELEKHYA GAMPA
> Priority: Major
> Fix For: 2.2.0
>
> Time Spent: 6.5h
> Remaining Estimate: 0h
>
> [Steps] :-
> From spark beeline/SQL/Shell/Submit the following queries are executed
> drop table if exists alter_complex; create table alter_complex (a int, b string) stored as carbondata; insert into alter_complex select 1,'a'; insert into alter_complex select 1,'a'; insert into alter_complex select 1,'a'; insert into alter_complex select 1,'a'; insert into alter_complex select 1,'a'; select _from alter_complex; ALTER TABLE alter_complex ADD COLUMNS(struct1 STRUCT<a:int, b:string>); insert into alter_complex select 3,'c',named_struct('s1',4,'s2','d'); insert into alter_complex select 3,'c',named_struct('s1',4,'s2','d'); insert into alter_complex select 3,'c',named_struct('s1',4,'s2','d'); insert into alter_complex select 3,'c',named_struct('s1',4,'s2','d'); insert into alter_complex select 3,'c',named_struct('s1',4,'s2','d'); select_ from alter_complex; alter table alter_complex compact 'minor'; OR alter table alter_complex compact 'major'; OR alter table alter_complex compact 'custom' where segment.id In (3,4,5,6);
> [Expected Result] :- Compaction should be success after alter add complex column.
> [Actual Issue] : - Compaction fails after alter add complex column.
>
> !
https://clouddevops.huawei.com/vision-file-storage/api/file/download/upload-v2/2021/3/26/c71035/ec9486ee659c4374a211db588b2f6b2a/image.png!--
This message was sent by Atlassian Jira
(v8.3.4#803005)