Skip to content

Commit bdc6bb5

Browse files
Update crates/iceberg/src/spec/table_properties.rs
Co-authored-by: Kevin Liu <[email protected]>
1 parent 27cbc0b commit bdc6bb5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/iceberg/src/spec/table_properties.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ impl TryFrom<&HashMap<String, String>> for TableProperties {
191191
)?,
192192
metadata_compression_codec: props
193193
.get(TableProperties::PROPERTY_METADATA_COMPRESSION_CODEC)
194-
.and_then(|v| match v.as_str() {
194+
.and_then(|v| match v.to_lowercase().as_str() {
195195
"none" | "" => None,
196196
codec => Some(codec.to_string()),
197197
}),

0 commit comments

Comments
 (0)