ravipesala commented on a change in pull request #3281: [WIP]Index server performance improvement
URL:
https://github.com/apache/carbondata/pull/3281#discussion_r293264430
##########
File path: integration/spark2/src/main/scala/org/apache/carbondata/indexserver/DataMapJobs.scala
##########
@@ -64,9 +79,13 @@ class DistributedDataMapJob extends AbstractDataMapJob {
filterInf = removeSparkUnknown(filterInf,
dataMapFormat.getCarbonTable.getAbsoluteTableIdentifier, filterProcessor)
dataMapFormat.setFilterResolverIntf(filterInf)
- IndexServer.getClient.getSplits(dataMapFormat).toList.asJava
+ IndexServer.getClient.getSplits(dataMapFormat)
+ .getExtendedBlockets(dataMapFormat.getCarbonTable.getTablePath, dataMapFormat.getQueryId)
}
LOGGER.info(s"Time taken to get response from server: $time ms")
+ if (isTempFolderCreated && !file.delete()) {
Review comment:
Please move to finally to delete the temp folder
----------------------------------------------------------------
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