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-4110: Double Values Fail when using Min/Max #3292

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

rdifrango
Copy link

What is the purpose of the change

Resolves AVRO-4110
Double Values Fail when using Min/Max

Verifying this change

(Please pick one of the following options)

I added tests to PrimitivesArraysTest to cover the use case identified in the JIRA ticket.

Documentation

  • Does this pull request introduce a new feature? (yes / no)
    No

  • If yes, how is the feature documented? (not applicable / docs / JavaDocs / not documented)

@KalleOlaviNiemitalo
Copy link
Contributor

This seems to be fixing the same bug as #3285 but in more methods.

@rdifrango
Copy link
Author

This seems to be fixing the same bug as #3285 but in more methods.

Agreed that there's overlap, but that I covered all the methods within PrimitivesArrays.DoubleArray. Also, I used the doubleValue instead of casting thus not using auto-boxing of the type thus ensuring the semantics of the following PR are followed:

#2389

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