-
Notifications
You must be signed in to change notification settings - Fork 13.9k
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
KAFKA-9192: fix NPE when for converting optional json schema in structs #7733
Conversation
@rhauch would appreciate a review! |
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 @levzem!
@levzem this looks great, but the Kafka project has all PRs against Can you please change the rebase your local branch on |
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.
Please rebase to trunk
.
Signed-off-by: Lev Zemlyanov <lev@confluent.io>
Signed-off-by: Lev Zemlyanov <lev@confluent.io>
ok to test |
…ts (#7733) Author: Lev Zemlyanov <lev@confluent.io> Reviewers: Greg Harris <gregh@confluent.io>, Randall Hauch <rhauch@gmail.com>
…ts (#7733) Author: Lev Zemlyanov <lev@confluent.io> Reviewers: Greg Harris <gregh@confluent.io>, Randall Hauch <rhauch@gmail.com>
…ts (#7733) Author: Lev Zemlyanov <lev@confluent.io> Reviewers: Greg Harris <gregh@confluent.io>, Randall Hauch <rhauch@gmail.com>
…ts (#7733) Author: Lev Zemlyanov <lev@confluent.io> Reviewers: Greg Harris <gregh@confluent.io>, Randall Hauch <rhauch@gmail.com>
…ts (apache#7733) Author: Lev Zemlyanov <lev@confluent.io> Reviewers: Greg Harris <gregh@confluent.io>, Randall Hauch <rhauch@gmail.com>
…ts (apache#7733) Author: Lev Zemlyanov <lev@confluent.io> Reviewers: Greg Harris <gregh@confluent.io>, Randall Hauch <rhauch@gmail.com>
resolves the bug https://issues.apache.org/jira/browse/KAFKA-9192
line #701 will throw a
NPE
ifjsonValue
isnull
, if the schema was optional and the field never existedSigned-off-by: Lev Zemlyanov lev@confluent.io
Committer Checklist (excluded from commit message)