Skip to content

Conversation

@olavloite
Copy link
Collaborator

Casting a FLOAT64 value containing either Inf or NaN to a Java float failed, while Java itself allows the same conversion from a double Inf or NaN to the corresponding float Inf or NaN.

Fixes #2256

Casting a FLOAT64 value containing either Inf or NaN to a Java float
failed, while Java itself allows the same conversion from a double
Inf or NaN to the corresponding float Inf or NaN.

Fixes #2256
@olavloite olavloite requested a review from a team as a code owner November 28, 2025 10:22
@product-auto-label product-auto-label bot added size: s Pull request size is small. api: spanner Issues related to the googleapis/java-spanner-jdbc API. labels Nov 28, 2025
@olavloite olavloite requested a review from rayudu3745 November 28, 2025 10:22
@olavloite olavloite added the automerge Merge the pull request once unit tests and other checks pass. label Nov 28, 2025
@gcf-merge-on-green gcf-merge-on-green bot merged commit a947024 into main Nov 28, 2025
27 checks passed
@gcf-merge-on-green gcf-merge-on-green bot removed the automerge Merge the pull request once unit tests and other checks pass. label Nov 28, 2025
@gcf-merge-on-green gcf-merge-on-green bot deleted the issue-2256 branch November 28, 2025 10:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api: spanner Issues related to the googleapis/java-spanner-jdbc API. size: s Pull request size is small.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Spanner: OUT_OF_RANGE error when reading a FLOAT64 Infinity value as a Java float value.

2 participants