mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-23 08:02:02 +00:00
update 01936_empty_function_support_uuid
This commit is contained in:
parent
91aa1e6c7b
commit
a51067e7ff
@ -1,3 +1,4 @@
|
||||
1
|
||||
0
|
||||
1 2
|
||||
2 1
|
||||
|
@ -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
|
||||
);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user