Skip to content

Smartnoise-sql - Opendp 0.14.1: Fix float domains that implicitly allows NaN#626

Open
LancelotMarti wants to merge 3 commits intoopendp:mainfrom
LancelotMarti:main
Open

Smartnoise-sql - Opendp 0.14.1: Fix float domains that implicitly allows NaN#626
LancelotMarti wants to merge 3 commits intoopendp:mainfrom
LancelotMarti:main

Conversation

@LancelotMarti
Copy link

Pipelines using floating-point domains may fail during construction in v0.14 because atom_domain(T=float) implicitly allows NaN values. Transformations such as then_clamp and then_sum reject domains that may contain NaN, leading to the error:

OpenDPException: FailedFunction("Domain contains nan")

This change ensures pipelines behave as expected by explicitly disabling NaN in the input domain.

@LancelotMarti
Copy link
Author

Related to #625

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.

1 participant