We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 2b1d21b + eb2517b commit c7fc8a5Copy full SHA for c7fc8a5
1 file changed
crates/iceberg/src/io/storage/opendal/mod.rs
@@ -587,14 +587,7 @@ impl StorageFactory for OpenDalRoutingStorageFactory {
587
})?;
588
let scheme = Url::parse(&location)
589
.map(|u| u.scheme().to_string())
590
- .map_err(|e| {
591
- Error::new(
592
- ErrorKind::DataInvalid,
593
- format!(
594
- "OpenDalRoutingStorageFactory: failed to parse metadata location URL: {e}"
595
- ),
596
- )
597
- })?;
+ .unwrap_or_else(|_| "file".to_string());
598
599
// Strip internal keys so they don't leak into the OpenDAL operator config.
600
props.remove(PROP_TABLE_IDENT);
0 commit comments