ravipesala commented on a change in pull request #3221: [CARBONDATA-3386] 
Concurrent Merge index and query is failing
URL: https://github.com/apache/carbondata/pull/3221#discussion_r284289431
 
 

 ##########
 File path: 
integration/spark2/src/main/scala/org/apache/carbondata/spark/rdd/CarbonTableCompactor.scala
 ##########
 @@ -200,6 +201,7 @@ class CarbonTableCompactor(carbonLoadModel: 
CarbonLoadModel,
         val readPath =
           
CarbonTablePath.getSegmentFilesLocation(carbonLoadModel.getTablePath) +
           CarbonCommonConstants.FILE_SEPARATOR + 
carbonLoadModel.getFactTimeStamp + ".tmp"
+        MergeIndexUtil.mergeIndexFilesOnCompaction(compactionCallableModel)
 
 Review comment:
   It seems in all cases you are calling it, so better moveup and call once

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