Skip to content

Modulus can produce incorrect results in some cases #521

@andygrove

Description

@andygrove

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions