Unexpected Results Using NULLIF
with VARCHAR
#15325
Labels
bug
Clear identification of incorrect behaviour
NULLIF
with VARCHAR
#15325
CrateDB version
CrateDB 5.6.0-SNAPSHOT built 5ff277c
CrateDB setup information
Manual build following the instructions here: https://github.com/crate/crate/blob/master/devs/docs/basics.rst
Problem description
The third
SELECT
returns one row (null
), which is surprising, given that the result of second query isnull
. The value of theNULLI((t0.c1), NULL))
expression isnull
, and thus the third query should return empty.Steps to Reproduce
Actual Result
NULL
Expected Result
Empty
The text was updated successfully, but these errors were encountered: