Error evaluating clause where COL_BIGINT < 1e100
(Found by SQLancer-NoREC)
#11252
Labels
bug
Something isn't working
Describe the bug
When a
BIGINT
typed column is comparing with a largeDOUBLE
literal, it's not evaluated correct if it's in where clauseBut if this comparison clause is in
SELECT
clause, it can be evaluated successfully. Such inconsistency should be a bug.To Reproduce
No response
Expected behavior
No response
Additional context
PostgreSQL
andDuckDB
can evaluate both queries successfully.Found by SQLancer #11030
The text was updated successfully, but these errors were encountered: