Skip to content

Commit

Permalink
Update crates/deltalake-core/src/operations/convert_to_delta.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Robert Pack <42610831+roeap@users.noreply.github.com>
  • Loading branch information
ion-elgreco and roeap authored Nov 19, 2023
1 parent 0153813 commit 9e52266
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/deltalake-core/src/operations/convert_to_delta.rs
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ impl FromStr for PartitionStrategy {
type Err = DeltaTableError;

fn from_str(s: &str) -> DeltaResult<Self> {
match s {
match s.to_ascii_lowercase().as_str() {
"hive" => Ok(PartitionStrategy::Hive),
_ => Err(DeltaTableError::Generic(format!(
"Invalid partition strategy provided {}",
Expand Down

0 comments on commit 9e52266

Please sign in to comment.