kunal642 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_r362202583
##########
File path:
integration/spark2/src/main/scala/org/apache/spark/sql/CarbonEnv.scala
##########
@@ -125,6 +130,21 @@ class CarbonEnv {
LOGGER.info("Initialize CarbonEnv completed...")
}
+
+ def createIndexServerTmp(sparkSession: SparkSession): Unit = {
+ val conf = sparkSession.sparkContext.hadoopConfiguration
+ val fs = FileSystem.get(conf)
+ if (fs.getUri.toString.startsWith("hdfs://")) {
Review comment:
Use CarbonUtil.checkAndAppendFileSystemURIScheme to add URI to the 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:
[email protected]
With regards,
Apache Git Services