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
AVRO-3536: Inherit conversions for Union type #1721
Conversation
lang/java/avro/src/main/java/org/apache/avro/specific/SpecificData.java
Outdated
Show resolved
Hide resolved
|
||
// Used by DatumReader. Applications should not call. | ||
@SuppressWarnings(value = "unchecked") | ||
public void put(int field$, Object value$) { |
Check notice
Code scanning / CodeQL
Missing Override annotation
lang/java/avro/src/test/java/org/apache/avro/specific/TestUnionRecord.java
Show resolved
Hide resolved
lang/java/avro/src/test/java/org/apache/avro/specific/TestUnionRecord.java
Show resolved
Hide resolved
lang/java/avro/src/test/java/org/apache/avro/specific/TestUnionRecord.java
Show resolved
Hide resolved
Any updates on when this will be merged? Seems like it's good to go and it's a really unexpected and annoying bug. |
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.
LGTM
Thanks for the fix! When can we expect a release (avro and avro-maven-plugin) with the fix? |
facing same issue ... if there is a fix already in place ..please share the version |
Just got hit by this issue as well. When can we expect this to be released? |
When will this be released? |
It has been released with 1.11.2 |
Tried updating the sample provided on https://issues.apache.org/jira/browse/AVRO-3536 to use release 1.11.3 and it still fails, is something else needed? |
In that case the best would be to open a new JIRA ticket and send a PR with the failing test/sample (and a fix if you know how to fix it). |
Updated the getForSchema to also consider Union types