You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Missing Results when using Floating-point in BETWEEN #9825
Considering the test case below: The third SELECT returns an empty result, which is surprising: If the result of second query contains at least one true, the value of the BETWEEN expression should be true, and thus the third query should return one row in t0.
If replacing 3.1 to 3, or only inserting 5, things go well.
To Reproduce
CREATETABLEt0(c1 INT);
INSERT INTO t0(c1) VALUES (-1);
INSERT INTO t0(c1) VALUES (5);
SELECT*FROM t0; -- -1, 5SELECT (c1 BETWEEN 3.1AND c1) FROM t0; -- false, trueSELECT*FROM t0 WHERE (c1 BETWEEN 3.1AND c1);
-- Expected: 5-- Actual: empty
Activity
Fix duckdb#9825 - disable adding transitive filters for <> in filter …
Merge pull request #9832 from Mytherin/issue9825