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

Fix: comparing double with long #1960

Merged
merged 6 commits into from
Jan 15, 2025
Merged

Conversation

milaGGL
Copy link
Contributor

@milaGGL milaGGL commented Dec 16, 2024

SDK sorts cross-type numbers differently than the backend in some edge cases, ie, overflowed double numbers with long.MAX_VALUE.
Introduce more conditional comparison for double and long numbers.

@milaGGL milaGGL requested a review from a team as a code owner December 16, 2024 20:00
@product-auto-label product-auto-label bot added size: m Pull request size is medium. api: firestore Issues related to the googleapis/java-firestore API. labels Dec 16, 2024
@cloud-java-bot cloud-java-bot requested a review from a team as a code owner December 16, 2024 20:03
@milaGGL milaGGL added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Dec 16, 2024
@yoshi-kokoro yoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Dec 16, 2024
@milaGGL milaGGL changed the title Fix bug in comparing cross type numbers Fix: comparing double with long Dec 17, 2024
@milaGGL milaGGL requested a review from ehsannas December 17, 2024 19:25
@ehsannas ehsannas assigned milaGGL and unassigned ehsannas Dec 18, 2024
@milaGGL milaGGL requested a review from ehsannas December 23, 2024 19:21
@milaGGL milaGGL added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Dec 23, 2024
@yoshi-kokoro yoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Dec 23, 2024
@milaGGL milaGGL merged commit 8cb4dc8 into main Jan 15, 2025
23 checks passed
@milaGGL milaGGL deleted the mila/fix-sort-cross-type-numbers branch January 15, 2025 16:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: firestore Issues related to the googleapis/java-firestore API. size: m Pull request size is medium.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants