manishgupta88 commented on a change in pull request #3215: [CARBONDATA-3381] Large response size Exception fix for index server
URL:
https://github.com/apache/carbondata/pull/3215#discussion_r284351411
##########
File path: integration/spark2/src/main/scala/org/apache/carbondata/indexserver/IndexServer.scala
##########
@@ -100,10 +100,10 @@ object IndexServer extends ServerInterface {
})
}
- def getSplits(request: DistributableDataMapFormat): Array[ExtendedBlocklet] = doAs {
+ def getSplits(request: DistributableDataMapFormat): ExtendedBlockletWrapper = doAs {
val splits = new DistributedPruneRDD(sparkSession, request).collect()
DistributedRDDUtils.updateExecutorCacheSize(splits.map(_._1).toSet)
- splits.map(_._2)
+ new ExtendedBlockletWrapper(splits.map(_._2))
Review comment:
LGTM
----------------------------------------------------------------
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