[ 
https://issues.apache.org/jira/browse/BEAM-10550?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17194417#comment-17194417
 ] 

Beam JIRA Bot commented on BEAM-10550:
--------------------------------------

This issue is assigned but has not received an update in 30 days so it has been 
labeled "stale-assigned". If you are still working on the issue, please give an 
update and remove the label. If you are no longer working on the issue, please 
unassign so someone else may work on it. In 7 days the issue will be 
automatically unassigned.

> Update solution for ZetaSQL DOUBLE NaN equals checks.
> -----------------------------------------------------
>
>                 Key: BEAM-10550
>                 URL: https://issues.apache.org/jira/browse/BEAM-10550
>             Project: Beam
>          Issue Type: Improvement
>          Components: dsl-sql-zetasql
>            Reporter: Zijie Song
>            Assignee: Robin Qiu
>            Priority: P3
>              Labels: stale-assigned
>
> 'NaN == NaN' for ZetaSQL DOUBLE type should be false. But it would hit into 
> the Calcite operation simplification block to be simplified to 'null or NaN 
> is not null' in Calcite. This would miscalculate the expression to be true.
> Currently, we add an additional random parameter for the wrapper function of 
> NaN, to avoid
>  triggering Calcite operation simplification. But it is only a temporary 
> solution.
> Once the Calcite version updated, we should replace this method by overriding 
> isDeterministic() for RexNode to make it false.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to