datafusion-comet icon indicating copy to clipboard operation
datafusion-comet copied to clipboard

Modulus can produce incorrect results in some cases

Open andygrove opened this issue 1 year ago • 3 comments

Describe the bug

Example of compatibility issue found by fuzz testing:

SELECT c90, c1, c90 % c1 FROM test1 ORDER BY c90, c1;

Spark: -21840,-0.0,NULL Comet: -21840,-0.0,NaN

Steps to reproduce

No response

Expected behavior

No response

Additional context

No response

andygrove avatar Jun 05 '24 15:06 andygrove

working on it.

vaibhawvipul avatar Jun 17 '24 05:06 vaibhawvipul

issue filed - https://github.com/apache/datafusion/issues/11051

vaibhawvipul avatar Jun 21 '24 17:06 vaibhawvipul

another one - https://github.com/apache/datafusion/issues/11108

vaibhawvipul avatar Jun 28 '24 06:06 vaibhawvipul