Skip to content

Conversation

@angelamayxie
Copy link
Contributor

@angelamayxie angelamayxie commented Oct 16, 2025

The changes made in #3265 were causing a regression in Doltgress (see dolthub/doltgresql#1946) since NaN and infinity are allowed in Doltgres. In order to fix the regression, the checks for NaN and infinity have been refactored into a function that can be overridden in Doltgres.

Accompanying PR dolthub/doltgresql#1951

@angelamayxie angelamayxie changed the title refactor NaN and infinity checks into separate function, still return v for invalid floats [no-release-notes] Refactor NaN and infinity checks into separate function Oct 16, 2025
@angelamayxie angelamayxie marked this pull request as ready for review October 16, 2025 19:29
@angelamayxie angelamayxie requested a review from zachmu October 16, 2025 19:29
Copy link
Member

@zachmu zachmu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTMN

@angelamayxie angelamayxie merged commit 44f3d60 into main Oct 16, 2025
8 checks passed
@angelamayxie angelamayxie deleted the angela/nan_panic branch October 16, 2025 19:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants