You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "rdifrango (via GitHub)" <gi...@apache.org> on 2025/01/16 14:09:17 UTC
[PR] AVRO-4110: Double Values Fail when using Min/Max [avro]
rdifrango opened a new pull request, #3292:
URL: https://github.com/apache/avro/pull/3292
<!--
*Thank you very much for contributing to Apache Avro - we are happy that you want to help us improve Avro. To help the community review your contribution in the best possible way, please go through the checklist below, which will get the contribution into a shape in which it can be best reviewed.*
*Please understand that we do not do this to make contributions to Avro a hassle. In order to uphold a high standard of quality for code contributions, while at the same time managing a large number of contributions, we need contributors to prepare the contributions well, and give reviewers enough contextual information for the review. Please also understand that contributions that do not follow this guide will take longer to review and thus typically be picked up with lower priority by the community.*
## Contribution Checklist
- Make sure that the pull request corresponds to a [JIRA issue](https://issues.apache.org/jira/projects/AVRO/issues). Exceptions are made for typos in JavaDoc or documentation files, which need no JIRA issue.
- Name the pull request in the form "AVRO-XXXX: [component] Title of the pull request", where *AVRO-XXXX* should be replaced by the actual issue number.
The *component* is optional, but can help identify the correct reviewers faster: either the language ("java", "python") or subsystem such as "build" or "doc" are good candidates.
- Fill out the template below to describe the changes contributed by the pull request. That will give reviewers the context they need to do the review.
- Make sure that the change passes the automated tests. You can [build the entire project](https://github.com/apache/avro/blob/main/BUILD.md) or just the [language-specific SDK](https://avro.apache.org/project/how-to-contribute/#unit-tests).
- Each pull request should address only one issue, not mix up code from multiple issues.
- Each commit in the pull request has a meaningful commit message (including the JIRA id)
- Every commit message references Jira issues in their subject lines. In addition, commits follow the guidelines from [How to write a good git commit message](https://chris.beams.io/posts/git-commit/)
1. Subject is separated from body by a blank line
1. Subject is limited to 50 characters (not including Jira issue reference)
1. Subject does not end with a period
1. Subject uses the imperative mood ("add", not "adding")
1. Body wraps at 72 characters
1. Body explains "what" and "why", not "how"
-->
## What is the purpose of the change
Resolves [AVRO-4110](https://issues.apache.org/jira/browse/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)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@avro.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] AVRO-4110: Double Values Fail when using Min/Max [avro]
Posted by "nandorKollar (via GitHub)" <gi...@apache.org>.
nandorKollar merged PR #3292:
URL: https://github.com/apache/avro/pull/3292
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@avro.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] AVRO-4110: Double Values Fail when using Min/Max [avro]
Posted by "rdifrango (via GitHub)" <gi...@apache.org>.
rdifrango commented on PR #3292:
URL: https://github.com/apache/avro/pull/3292#issuecomment-2605691337
> @rdifrango Can you pull in the latest main?
Done
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@avro.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] AVRO-4110: Double Values Fail when using Min/Max [avro]
Posted by "rdifrango (via GitHub)" <gi...@apache.org>.
rdifrango commented on PR #3292:
URL: https://github.com/apache/avro/pull/3292#issuecomment-2595888477
> 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:
https://github.com/apache/avro/pull/2389
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@avro.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] AVRO-4110: Double Values Fail when using Min/Max [avro]
Posted by "KalleOlaviNiemitalo (via GitHub)" <gi...@apache.org>.
KalleOlaviNiemitalo commented on PR #3292:
URL: https://github.com/apache/avro/pull/3292#issuecomment-2595847013
This seems to be fixing the same bug as <https://github.com/apache/avro/pull/3285> but in more methods.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@avro.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] AVRO-4110: Double Values Fail when using Min/Max [avro]
Posted by "rdifrango (via GitHub)" <gi...@apache.org>.
rdifrango commented on PR #3292:
URL: https://github.com/apache/avro/pull/3292#issuecomment-2617427760
@KalleOlaviNiemitalo and/or @Fokko any update on getting this approved and merged?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@avro.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] AVRO-4110: Double Values Fail when using Min/Max [avro]
Posted by "rdifrango (via GitHub)" <gi...@apache.org>.
rdifrango commented on PR #3292:
URL: https://github.com/apache/avro/pull/3292#issuecomment-2674788624
Any word on getting this merged as it completes the work that was started in #3285
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@avro.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] AVRO-4110: Double Values Fail when using Min/Max [avro]
Posted by "rdifrango (via GitHub)" <gi...@apache.org>.
rdifrango commented on PR #3292:
URL: https://github.com/apache/avro/pull/3292#issuecomment-2605618780
Now that #3285 has been merged, can this one be as well as it covers a wider set of use cases?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@avro.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] AVRO-4110: Double Values Fail when using Min/Max [avro]
Posted by "Fokko (via GitHub)" <gi...@apache.org>.
Fokko commented on PR #3292:
URL: https://github.com/apache/avro/pull/3292#issuecomment-2605638998
@rdifrango Can you pull in the latest main?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@avro.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] AVRO-4110: Double Values Fail when using Min/Max [avro]
Posted by "adsanche (via GitHub)" <gi...@apache.org>.
adsanche commented on PR #3292:
URL: https://github.com/apache/avro/pull/3292#issuecomment-2751468447
Same class that seems to be related to this bug : https://issues.apache.org/jira/browse/AVRO-4125
When is this getting merged and released?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@avro.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] AVRO-4110: Double Values Fail when using Min/Max [avro]
Posted by "KalleOlaviNiemitalo (via GitHub)" <gi...@apache.org>.
KalleOlaviNiemitalo commented on PR #3292:
URL: https://github.com/apache/avro/pull/3292#issuecomment-2618128700
@rdifrango, this change looks OK to me but I don't trust my Java skills enough to formally approve.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@avro.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] AVRO-4110: Double Values Fail when using Min/Max [avro]
Posted by "nandorKollar (via GitHub)" <gi...@apache.org>.
nandorKollar commented on PR #3292:
URL: https://github.com/apache/avro/pull/3292#issuecomment-2899078562
@Fokko do you happen to have any objection against merging this fix?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@avro.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org