SHREELEKHYA GAMPA created CARBONDATA-4193:
---------------------------------------------
Summary: 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
[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)