pabloem commented on code in PR #25268:
URL: https://github.com/apache/beam/pull/25268#discussion_r1100434130
##########
sdks/java/core/src/main/java/org/apache/beam/sdk/schemas/Schema.java:
##########
@@ -1121,7 +1121,8 @@ public boolean typesEqual(Field other) {
private boolean equivalent(Field otherField, EquivalenceNullablePolicy
nullablePolicy) {
return getName().equals(otherField.getName())
- && getType().equivalent(otherField.getType(), nullablePolicy);
+ && getType().equivalent(otherField.getType(), nullablePolicy)
+ && getDescription().equals(otherField.getDescription());
Review Comment:
removed this and changed for an equality check.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]