[jira] [Created] (CARBONDATA-1947) fix select * issue after compaction, delete and clean files operation

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (CARBONDATA-1947) fix select * issue after compaction, delete and clean files operation

Akash R Nilugal (Jira)
Akash R Nilugal created CARBONDATA-1947:
-------------------------------------------

             Summary: 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


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)