Skip to content

Commit

Permalink
Allowing lower or mixed case partitionOverwriteMode option value (#1313)
Browse files Browse the repository at this point in the history
  • Loading branch information
davidrabinowitz authored Nov 19, 2024
1 parent 0987846 commit 8a6ab04
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -605,6 +605,7 @@ public static SparkBigQueryConfig from(

config.partitionOverwriteModeValue =
getAnyOption(globalOptions, options, partitionOverwriteModeProperty)
.transform(String::toUpperCase)
.transform(PartitionOverwriteMode::valueOf)
.or(PartitionOverwriteMode.STATIC);

Expand Down

0 comments on commit 8a6ab04

Please sign in to comment.