JingsongLi commented on PR #7590:
URL: https://github.com/apache/paimon/pull/7590#issuecomment-4233556681
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.
--
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]