update 01936_empty_function_support_uuid

This commit is contained in:
zxc111 2021-07-04 23:25:51 +08:00
parent 91aa1e6c7b
commit a51067e7ff
2 changed files with 5 additions and 1 deletions

View File

@ -1,9 +1,12 @@
SELECT empty(toUUID('00000000-0000-0000-0000-000000000000'));
SELECT uniqIf(uuid, empty(uuid))
SELECT notEmpty(toUUID('00000000-0000-0000-0000-000000000000'));
SELECT uniqIf(uuid, empty(uuid)), uniqIf(uuid, notEmpty(uuid))
FROM
(
SELECT toUUID('00000000-0000-0000-0000-000000000002') AS uuid
UNION ALL
SELECT toUUID('00000000-0000-0000-0000-000000000000') AS uuid
UNION ALL
SELECT toUUID('00000000-0000-0000-0000-000000000001') AS uuid
);