Skip to content

AVRO-4139 [java] fix equality check for maps in arrays #3378

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

Merged
merged 1 commit into from
May 29, 2025

Conversation

steven-aerts
Copy link
Contributor

With the introduction of the AbstractArray in avro 1.12, it was not possible anymore to compare arrays which contained objects which contained a Map, as the fact that we compared for equality was not propagated anymore.

This commit re-introduces this propagation.

Verifying this change

This change added an unit test

Documentation

  • Does this pull request introduce a new feature? no

With the introduction of the `AbstractArray` in avro 1.12, it was not
possible anymore to compare arrays which contained objects which
contained a Map, as the fact that we compared for equality was not
propagated anymore.

This commit re-introduces this propagation.
@github-actions github-actions bot added the Java Pull Requests for Java binding label May 16, 2025
@steven-aerts steven-aerts changed the title AVRO-4139 [java] equality check for maps in arrays AVRO-4139 [java] fix equality check for maps in arrays May 16, 2025
@opwvhk opwvhk merged commit a651bb2 into apache:main May 29, 2025
8 checks passed
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.

2 participants