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
The third SELECT returns a non-empty result, which is surprising, given that the result of second query is NULL. The value of the expression should be NULL, and thus the third query should return an empty result.
I built crate myself and run it in docker container, here's the version: CrateDB 5.6.0-SNAPSHOT (built 76e7ee0/NA, Linux 5.15.0-67-generic amd64, OpenJDK 64-Bit Server VM 21.0.1+12-LTS). Things work well on the latest docker image (5.5.1)
Steps to Reproduce
CREATETABLEt1(c0 INTEGER);
INSERT INTO t1 (c0) VALUES (NULL);
REFRESH TABLE t1;
SELECT*FROM t1; -- NULLSELECTt1.c0!=(1||t1.c0) FROM t1; -- NULLSELECT*FROM t1 WHERE (t1.c0!=(1||t1.c0));
-- Expected: Empty-- Actual: NULL
Activity
jeeminso commentedon Dec 21, 2023
Thank you a lot for reporting bugs from
masterbranch. This is fixed by #15229.