[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

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

[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

GitBox
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:
[hidden email]


With regards,
Apache Git Services