You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@carbondata.apache.org by GitBox <gi...@apache.org> on 2021/06/07 07:30:18 UTC

[GitHub] [carbondata] Indhumathi27 commented on a change in pull request #4141: [CARBONDATA-4190] Integrate Carbondata with Spark 3.1.1 version

Indhumathi27 commented on a change in pull request #4141:
URL: https://github.com/apache/carbondata/pull/4141#discussion_r646336533



##########
File path: integration/spark/src/main/scala/org/apache/spark/sql/carbondata/execution/datasources/SparkCarbonFileFormat.scala
##########
@@ -86,6 +87,11 @@ class SparkCarbonFileFormat extends FileFormat
       options: Map[String, String],
       files: Seq[FileStatus]): Option[StructType] = {
     val conf = sparkSession.sessionState.newHadoopConf()
+    if (options.isEmpty && files.isEmpty) {

Review comment:
       path is removed from options from 3.1, so this change is required to throw the proper exception




-- 
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:
users@infra.apache.org