Skip to content

Commit

Permalink
Check case insensitive
Browse files Browse the repository at this point in the history
  • Loading branch information
Kimahriman committed Dec 19, 2024
1 parent 573016a commit c3062e1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ class FileStreamSource(
private val optionsForInnerDataSource = sourceOptions.optionMapWithoutPath ++ {
val pathOption =
if (!SparkHadoopUtil.get.isGlobPath(new Path(path)) && options.contains("path") &&
!options.contains(FileIndexOptions.BASE_PATH_PARAM)) {
!CaseInsensitiveMap(options).contains(FileIndexOptions.BASE_PATH_PARAM)) {
Map(FileIndexOptions.BASE_PATH_PARAM -> path)
} else {
Map()
Expand Down

0 comments on commit c3062e1

Please sign in to comment.