Skip to content

Commit

Permalink
make param name more clear
Browse files Browse the repository at this point in the history
  • Loading branch information
YannByron committed Nov 22, 2023
1 parent 90470ff commit 66fc286
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,13 +57,13 @@ object ResolvePartitionSpec extends Rule[LogicalPlan] {
tableName: String,
partSpec: UnresolvedPartitionSpec,
partSchema: StructType,
allowPartitionSpec: Boolean): ResolvedPartitionSpec = {
allowPartialPartitionSpec: Boolean): ResolvedPartitionSpec = {
val normalizedSpec = normalizePartitionSpec(
partSpec.spec,
partSchema,
tableName,
conf.resolver)
if (!allowPartitionSpec) {
if (!allowPartialPartitionSpec) {
requireExactMatchedPartitionSpec(tableName, normalizedSpec,
partSchema.fieldNames.toImmutableArraySeq)
}
Expand Down

0 comments on commit 66fc286

Please sign in to comment.