Skip to content
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-2956: [java] add reserved word escape character to the end of reserved and contextual keywords #2544

Conversation

stephenkittelson
Copy link

What is the purpose of the change

This pull requests fixes deserialization of schemas with Java reserved and contextual keywords as field names which fixes AVRO-2956.

Verifying this change

This change can be verified with the added unit tests that validate deserialization adds the reserved word escape character to the end of class names that match reserved words or contextual keywords.

Documentation

  • Does this pull request introduce a new feature? no
  • If yes, how is the feature documented? not applicable

@github-actions github-actions bot added the Java Pull Requests for Java binding label Oct 9, 2023
@stephenkittelson
Copy link
Author

Looks like the Python check failed due to failure to download bzip which seems unrelated to my changes. I went ahead and sync'ed my branch with main.

@Fokko
Copy link
Contributor

Fokko commented Dec 21, 2023

@stephenkittelson can you fix the conflicts?

@stephenkittelson
Copy link
Author

stephenkittelson commented Dec 21, 2023

@stephenkittelson can you fix the conflicts?

Looks like Kyle Carter's PR 1527 that was merged earlier today fixed the same issue this PR was going to fix, so this PR is no longer necessary. Thanks for taking a look Fokko!

@stephenkittelson stephenkittelson deleted the fix-deserialization-keywords branch December 21, 2023 19:50
@Fokko
Copy link
Contributor

Fokko commented Dec 28, 2023

@stephenkittelson Thanks, anyway, thank you for working on this! 🙌

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Java Pull Requests for Java binding
Projects
None yet
2 participants