Closed 0xbe7a closed 1 year ago
I guess f32::NaN != f32::NaN
causes the key(i.e. identifiers) of the hashmap to be considered unequal for this expr.
Ai.. we need to modify the equality of expressions to check the binary floating point values for equality.
We want to know if expressions are equal, not if the underlying values are equal conforming the float spec.
Checks
[X] I have checked that this issue has not already been reported.
[X] I have confirmed this bug exists on the latest version of Polars.
Reproducible example
Issue description
When executing with
comm_subexpr_elim=True
polars panicsExpected behavior
same behavior as
comm_subexpr_elim=False
Installed versions