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-4040: [java] @AvroInternal annotation for getSchema() and getSpecificData() methods #3124

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

bgalek
Copy link

@bgalek bgalek commented Aug 27, 2024

What is the purpose of the change

This pull request introduces @AvroInternal annotation interface that serves only to identify the semantics of being something internal/avro specific.

Thanks to this indicator annotation, class processors can ignore those avro-specific fields not coming from user defined schema.

Fixes https://issues.apache.org/jira/browse/AVRO-4040

Verifying this change

This change is a trivial rework / code cleanup without any test coverage.

Documentation

I think we could mention this interface in some docs.

@github-actions github-actions bot added the Java Pull Requests for Java binding label Aug 27, 2024
@bgalek bgalek changed the title AVRO-4040: [avro, java] @AvroInternal annotation for getSchema() and getSpecificData() methods AVRO-4040: [java] @AvroInternal annotation for getSchema() and getSpecificData() methods Aug 27, 2024
@bgalek
Copy link
Author

bgalek commented Aug 28, 2024

I've fixed spotless error, so build should pass now ;)

@bgalek
Copy link
Author

bgalek commented Aug 29, 2024

…fic/AvroInternal.java

Co-authored-by: Oscar Westra van Holthe - Kind <[email protected]>
@bgalek
Copy link
Author

bgalek commented Sep 10, 2024

Any chances for merge? :)

@bgalek
Copy link
Author

bgalek commented Sep 19, 2024

@opwvhk hi, do we have any ETA for this PR?

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
Development

Successfully merging this pull request may close these issues.

3 participants