ravipesala commented on a change in pull request #3281: [WIP]Index server performance improvement
URL:
https://github.com/apache/carbondata/pull/3281#discussion_r293264841
##########
File path: integration/spark2/src/main/scala/org/apache/carbondata/indexserver/DataMapJobs.scala
##########
@@ -108,6 +127,21 @@ class EmbeddedDataMapJob extends AbstractDataMapJob {
override def execute(dataMapFormat: DistributableDataMapFormat): util.List[ExtendedBlocklet] = {
val spark = SparkSQLUtil.getSparkSession
+ val queryId = spark.sparkContext.getConf.get("queryId", UUID.randomUUID().toString)
+ dataMapFormat.setQueryId(queryId)
+ val tempPath = dataMapFormat.getCarbonTable.getTablePath + "/" + queryId;
Review comment:
Extract a method to util to create query result path
----------------------------------------------------------------
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