[BEAM-3279] Deprecate and remove Coder.consistentWithEquals#8071
[BEAM-3279] Deprecate and remove Coder.consistentWithEquals#8071kennknowles merged 8 commits intoapache:masterfrom AlexKbit:feature/BEAM-3279
Conversation
kennknowles
left a comment
There was a problem hiding this comment.
Thanks for working on this!
sdks/java/core/src/main/java/org/apache/beam/sdk/coders/BigEndianShortCoder.java
Show resolved
Hide resolved
kennknowles
left a comment
There was a problem hiding this comment.
Great. This looks like a good improvement.
sdks/java/core/src/test/java/org/apache/beam/sdk/coders/ListCoderTest.java
Outdated
Show resolved
Hide resolved
|
@kennknowles this change will ready to merge, If you don't have other comments |
|
@kennknowles PR squashed & ready to merge. |
|
@AlexKbit I opened a pull request to you for minor changes. Did you see it? |
|
@kennknowles Do you mean tests with hardcoded expected result for consistentWithEquals? |
[BEAM-3279] Deprecate and remove Coder.consistentWithEquals
|
@kennknowles should i do squash with this changes again? |
|
I can squash them for you. Thanks! |
|
Thanks! If you want to follow-up there is good test coverage missing here: each coder could have a test, shared in |
|
Thank you! Can you create another ticket for this task(assign to me)? |
|
Thank you! 😄 |
|
Congratulations! This change (which is good) exposed a critical bug in the core SDK. We may have to roll this back, hopefully only temporarily, while we figure out what to do. |
…pache#8071)" This reverts commit 43db80d.
[BEAM-7038] Revert "[BEAM-3279] Deprecate and remove Coder.consistentWithEquals (apache#8071)
…pache#8071)" This reverts commit 43db80d.
|
To roll this forward, we need to do a few things:
|
Hi @kennknowles !
Could you please review my changes:
I'm not sure about removal of overriding from :
org.apache.beam.sdk.coders.MapCoder#consistentWithEquals
org.apache.beam.sdk.coders.ListCoder#consistentWithEquals
because it breaks the tests below:
org.apache.beam.sdk.coders.MapCoderTest > testConsistentWithEquals FAILED
org.apache.beam.sdk.coders.ListCoderTest > testConsistentWithEquals FAILED
I can rewrite these tests if it's necessary.
Post-Commit Tests Status (on master branch)
See .test-infra/jenkins/README for trigger phrase, status and link of all Jenkins jobs.