Skip to content

Commit 7975400

Browse files
committed
Accept prefix for Delta DDL options
1 parent f0ea302 commit 7975400

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

crates/core/src/table/builder.rs

+1
Original file line numberDiff line numberDiff line change
@@ -241,6 +241,7 @@ impl DeltaTableBuilder {
241241
storage_options
242242
.clone()
243243
.into_iter()
244+
.map(|(k, v)| (k.strip_prefix("deltalake.").map(ToString::to_string).unwrap_or(k), v))
244245
.map(|(k, v)| {
245246
let needs_trim = v.starts_with("http://")
246247
|| v.starts_with("https://")

0 commit comments

Comments
 (0)