[GitHub] [carbondata] ajantha-bhat commented on a change in pull request #3247: [CARBONDATA-3405] Fix getSplits() should clear the cache in SDK

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

[GitHub] [carbondata] ajantha-bhat commented on a change in pull request #3247: [CARBONDATA-3405] Fix getSplits() should clear the cache in SDK

GitBox
ajantha-bhat commented on a change in pull request #3247: [CARBONDATA-3405] Fix getSplits() should clear the cache in SDK
URL: https://github.com/apache/carbondata/pull/3247#discussion_r289266275
 
 

 ##########
 File path: store/sdk/src/main/java/org/apache/carbondata/sdk/file/CarbonReaderBuilder.java
 ##########
 @@ -409,6 +406,9 @@ private CarbonFileInputFormat prepareFileInputFormat(Job job, boolean enableBloc
     CarbonFileInputFormat format = prepareFileInputFormat(job, enableBlockletDistribution, false);
     List<InputSplit> splits =
         format.getSplits(new JobContextImpl(job.getConfiguration(), new JobID()));
+    // Clear the datamap cache as it is added in getSplits() method
 
 Review comment:
   ok done.

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