nihal0107 commented on issue #4173:
URL: https://github.com/apache/carbondata/issues/4173#issuecomment-883917592


   As I can see in the output of the show segment => segment status with id 0 
and 1 is marked for delete. It means these segments are not valid. You can 
execute once `clean file command` to remove these unnecessary segments. In the 
delete command, you can give the segment id which status is either success.
   Something similar to `DELETE FROM table  test_table WHERE SEGMENT.ID IN 
(2.3)`
   After executing this query your segment status will be `marked for delete`.
   You can remove all these(marked for delete, compacted) segments with clean 
files.
   Refer to this: 
https://github.com/apache/carbondata/blob/master/docs/clean-files.md
   you can use force option for clean or based on your requirement.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@carbondata.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to