akashrn5 commented on a change in pull request #3537: [CARBONDATA-3646]
[CARBONDATA-3647]: 1. Select query * fails when using index server. 2. Filter
query failure with Index server when loaded with global_sort_partition =
100000, giving Null pointer exception
URL: https://github.com/apache/carbondata/pull/3537#discussion_r362376259
##########
File path:
integration/spark2/src/main/scala/org/apache/spark/sql/CarbonEnv.scala
##########
@@ -125,6 +127,19 @@ class CarbonEnv {
LOGGER.info("Initialize CarbonEnv completed...")
}
+
+ def createIndexServerTmp(sparkSession: SparkSession): Unit = {
+ val path = CarbonUtil.checkAndAppendFileSystemURIScheme(
+ "/tmp/" + CarbonCommonConstants.INDEX_SERVER_TEMP_FOLDER_NAME)
+ if (!FileFactory.isFileExist(path)) {
+ // Create the new directory
+ LOGGER.info(s"Creating Index Server Tmp folder: ${path} ")
Review comment:
either give `tmp` or `temp` in log, remove Tmp
----------------------------------------------------------------
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