-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
WIP: AVRO-3986: [csharp] - Plain JSON encoding for Apache Avro #2888
base: main
Are you sure you want to change the base?
Conversation
Hi, I believe this PR has been marked as |
The PR diff shows modified files in C#, Java and Rust. |
I bungled a merge during an update and dragged a bunch of stuff in that didn't belong. I just rebased and cleaned that up. |
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.
CodeQL found more than 20 potential problems in the proposed changes. Check the Files changed tab for more details.
Interesting. The tool contains about upcasts of the form
whereby the upcast to object from DateTime is flagged. The cast is required for the cast to (T) to compile and will indeed fail at runtime if there's a mismatch. So that looks like a false positive. |
[Do not merge.]
This PR accompanies my filing of AVRO-3986 and implements all features defined in the issue. Purpose of the PR is also to illustrate the scope of the work for the other languages. New tests have been added to account for the different modes and the added features.
It's obviously possible to break up the umbrella issue into multiple issues and to break up the PR into separate issues, but since the interoperability goal is only achieved by the sum of the features, I put it all into one. The majority of the new code is related to union handling (features 5 and 6) and RFC3339 date-time handling.