We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 806b45b commit 922efd5Copy full SHA for 922efd5
sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/DataSource.scala
@@ -573,9 +573,7 @@ case class DataSource(
573
checkEmptyGlobPath: Boolean,
574
checkFilesExist: Boolean): Seq[Path] = {
575
val allPaths = caseInsensitiveOptions.get("path") ++ paths
576
- val hadoopConf = sparkSession.sessionState.newHadoopConfWithOptions(options)
577
-
578
- DataSource.checkAndGlobPathIfNecessary(allPaths.toSeq, hadoopConf,
+ DataSource.checkAndGlobPathIfNecessary(allPaths.toSeq, newHadoopConfiguration(),
579
checkEmptyGlobPath, checkFilesExist)
580
}
581
0 commit comments