xuzifu666 commented on PR #7590:
URL: https://github.com/apache/paimon/pull/7590#issuecomment-4234208060
> Spark SQL does NOT follow IEEE 754 for NaN equality. In Spark, NaN = NaN
evaluates to true:
>
> ```
> spark-sql> SELECT float('NaN') = float('NaN');
> true
> ```
>
> So WHERE float_col = float('NaN') should return rows where float_col IS
NaN. Returning alwaysFalse() silently drops those rows — this is a data
correctness bug.
Thanks for the reminder!There was indeed a data issue with this change, and
it seems unnecessary. I'll close this PR. @JingsongLi
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]