You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@carbondata.apache.org by GitBox <gi...@apache.org> on 2019/05/15 08:30:51 UTC

[GitHub] [carbondata] KanakaKumar commented on a change in pull request #3219: [CARBONDATA-3385]consider the merge index file also during clean files for compatibility case

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:
users@infra.apache.org


With regards,
Apache Git Services