Internal error when there is a bitwise operation in order by
clause (SQLancer)
#11561
Labels
bug
Something isn't working
order by
clause (SQLancer)
#11561
Describe the bug
Bitwise operations are producing various inconsistent behavior during fuzzing.
The root cause seems to be bitwise operation evaluation (maybe related to #11260)
However, when bitwise operations are used in the ORDER BY clause, other SORT-related errors show up.
We could investigate if this bitwise operation bug might propagate into the SORT logic.
To Reproduce
Reproduce in datafusion-cli
This is a potential bug in bitwise operation,
|
of twoDOUBLE
type should not be allowed, it should yield a planning error, but in this case it produces an internal error (#11249)However, when this expression is placed in
order by
clause, some query can execute successfully, some query can trigger another internal error in sort logic.Expected behavior
No response
Additional context
Found by SQLancer #11030
The text was updated successfully, but these errors were encountered: