UPPER(MISSING)
return NULL
in legacy mode and MISSING
in permissive mode
#1241
Labels
bug
Something isn't working
This may not be a bug
Description
UPPER
(orLOWER
, and perhaps similar behavior in other functions) returnsNULL
in legacy mode butMISSING
in permissive mode. Shouldn't the function return error in legacy mode? Shouldn't we promote theMISSING
toNULL
in permissive mode for SQL compatibility?From https://partiql.org/tutorial.html#_evaluating_functions_and_conditions_with_missing:
More details: https://community.partiql.org/t/partiql-tutorial-propagating-missing-in-result-tuples/114
To Reproduce
Steps to reproduce the behavior:
toolbox install partiql
0.13.2
by runningpartiql --version
Expected Behavior
Additional Context
0.13.2
The text was updated successfully, but these errors were encountered: