Details
-
Bug
-
Status: Closed (View Workflow)
-
Minor
-
Resolution: Not a Bug
-
11.8.9
-
None
-
Not for ES Release Notes
Description
COALESCE() returns NULL instead of the next non-NULL argument when a UUID column contains NULL.
CREATE TABLE t1 ( a UUID); |
INSERT INTO t1 VALUES (NULL); |
|
|
SELECT COALESCE(a, 'test') FROM t1; |
|
|
-- NULL |
NULL
Attachments
Issue Links
- relates to
-
MDEV-36851 COALESCE() returns nullable column while IFNULL() does not — unexpected behavior in VIEW definition
-
- Closed
-