Skip to content

Commit

Permalink
simplify
Browse files Browse the repository at this point in the history
  • Loading branch information
tedyu committed Sep 16, 2024
1 parent 481ee85 commit 656a2d3
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -187,8 +187,8 @@ class StateSchemaCompatibilityChecker(
check(existingStateSchema, newSchema, ignoreValueSchema)
}
}
val colFamiliesAddedOrRemoved = newStateSchemaList.map(_.colFamilyName).toSet
!= existingSchemaMap.keySet
val colFamiliesAddedOrRemoved =
(newStateSchemaList.map(_.colFamilyName).toSet != existingSchemaMap.keySet)
if (stateSchemaVersion == SCHEMA_FORMAT_V3 && colFamiliesAddedOrRemoved) {
createSchemaFile(newStateSchemaList, stateSchemaVersion)
}
Expand Down

0 comments on commit 656a2d3

Please sign in to comment.