-
Notifications
You must be signed in to change notification settings - Fork 513
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Shade updated AvroCoder until Beam 2.33.0 is released #3957
Conversation
Codecov Report
@@ Coverage Diff @@
## main #3957 +/- ##
=======================================
Coverage 62.05% 62.05%
=======================================
Files 286 286
Lines 10220 10220
Branches 379 379
=======================================
Hits 6342 6342
Misses 3878 3878 Continue to review full report at Codecov.
|
@@ -0,0 +1,36 @@ | |||
/* |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we have Spotify or ASF license header here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess ASF since the code is just copied from Beam.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚢
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have some concerns around this since this is a breaking a change.
We can go ahead with this but this means that the next release of scio should be v0.11.0
and it should include beam v2.32.0
.
@regadas Yeah the idea would be to release it with beam 2.32. It shouldn’t be a breaking change, I would consider it a bug fix which part did you mean specifically? |
@clairemcginty this is source compat but it's a binary incompatible change the underlying class is different; this means that if users pull different scio patch versions they would probably get The reason I asked about bringing beam This is a side effect that it's not obvious so I recommend we really target this to |
We also have one additional outstanding PR with a breaking change. Might be a good idea to include both and just release scio 0.11, wdyt? And we definitely want to have beam 2.32 in the next release bc there are some other things we need from 2.32. |
There more PR's for |
We want to get 2.32 to try bumping gcs-connector up to 2.2.2 to get around Flink-parquet issue. This PR is included into 2.32 - apache/beam#14817. This also means we will need some time to validate gcs-connector 2.2.2 on the scio side (1-2 days?) before making 0.11 release. |
@stormy-ua 👍 ahhh yes that one I forgot about it! |
yeah, but this would also slightly delay scio 0.11 release, because we will need to do some validations on the scio side and we can start doing this only once beam 2.32 is released which isn't released yet as of now 🤷 |
@regadas really? I copied the AvroCoders into |
Since the AvroCoder String ser/de fix isn't going into Beam 2.32.0, this PR shades that updated AvroCoder until Beam 2.33 comes out and we can release it. This change only affects
<: SpecificRecordBase
Avro types, so no updates to the Generic Avro coders are required.