[
https://issues.apache.org/jira/browse/CARBONDATA-1947?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jacky Li resolved CARBONDATA-1947.
----------------------------------
Resolution: Fixed
Fix Version/s: 1.3.0
> fix select * issue after compaction, delete and clean files operation
> ---------------------------------------------------------------------
>
> Key: CARBONDATA-1947
> URL:
https://issues.apache.org/jira/browse/CARBONDATA-1947> Project: CarbonData
> Issue Type: Bug
> Reporter: Akash R Nilugal
> Assignee: Akash R Nilugal
> Priority: Minor
> Fix For: 1.3.0
>
> Time Spent: 2.5h
> Remaining Estimate: 0h
>
> All data is deleted from compacted segment if a record is deleted and clean file command is run.
> 1: create table tt2(id int,name string) stored by 'carbondata';
> 2: insert into tt2 select 1,'abc';
> 3: insert into tt2 select 2,'pqr';
> 4: insert into tt2 select 3,'mno';
> 5: insert into tt2 select 4,'ghi'
> 6: Alter table tt2 compact 'minor';
> 7: clean files for table tt2;
> 8: delete from tt2 where id=3;
> 9: clean files for table tt2;
> 10: select * from tt2;
> select query gives empty result
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)