Skip to content

Commit

Permalink
Prefer RHS schema as prior behaviour
Browse files Browse the repository at this point in the history
  • Loading branch information
RustedBones committed Feb 15, 2024
1 parent 1dd677b commit 5b49e78
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -763,9 +763,9 @@ object BigDiffy extends Command with Serializable {
val schema = (lhsReader.getType, rhsReader.getType) match {
case (COMPATIBLE, COMPATIBLE) =>
if (lhsSchema != rhsSchema) {
logger.warn("Avro schemas are compatible, but not equal. Using schema from {}", lhs)
logger.warn("Avro schemas are compatible, but not equal. Using schema from {}", rhs)
}
lhsSchema
rhsSchema
case (COMPATIBLE, INCOMPATIBLE) =>
lhsSchema
case (INCOMPATIBLE, COMPATIBLE) =>
Expand Down

0 comments on commit 5b49e78

Please sign in to comment.