KanakaKumar commented on a change in pull request #3219: 
[CARBONDATA-3385]consider the merge index file also during clean files for 
compatibility case
URL: https://github.com/apache/carbondata/pull/3219#discussion_r284141468
 
 

 ##########
 File path: 
core/src/main/java/org/apache/carbondata/core/util/DeleteLoadFolders.java
 ##########
 @@ -128,7 +128,8 @@ private static void 
physicalFactAndMeasureMetadataDeletion(CarbonTable carbonTab
 
                 @Override public boolean accept(CarbonFile file) {
                   return (CarbonTablePath.isCarbonDataFile(file.getName()) ||
-                      CarbonTablePath.isCarbonIndexFile(file.getName()));
+                      CarbonTablePath.isCarbonIndexFile(file.getName()) ||
+                      CarbonTablePath.isCarbonMergeIndexFile(file.getName()));
 
 Review comment:
   same may needs to be handled in 
org.apache.carbondata.core.metadata.SegmentFileStore#getSegmentFileForPhysicalDataPartitions
   
   Please check

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to