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 1c40d43 commit 40c9a07Copy full SHA for 40c9a07
common/src/main/scala/org/apache/comet/objectstore/NativeConfig.scala
@@ -56,7 +56,7 @@ object NativeConfig {
56
* consistent and standardized cloud storage support across all providers.
57
*/
58
def extractObjectStoreOptions(hadoopConf: Configuration, uri: URI): Map[String, String] = {
59
- val scheme = uri.getScheme.toLowerCase(Locale.ROOT)
+ val scheme = Option(uri.getScheme).map(_.toLowerCase(Locale.ROOT)).getOrElse("file")
60
61
import scala.jdk.CollectionConverters._
62
val options = scala.collection.mutable.Map[String, String]()
0 commit comments