mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-25 11:10:49 +00:00
fix the uuid test
This commit is contained in:
parent
6217dd77b5
commit
8212d7fa28
@ -9,5 +9,5 @@ SELECT toString(toUUID('3f1ed72e-f7fe-4459-9cbe-95fe9298f845'));
|
||||
-- conversion back and forth to big-endian hex string
|
||||
with generateUUIDv4() as uuid,
|
||||
identity(lower(hex(reverse(reinterpretAsString(uuid))))) as str,
|
||||
reinterpretAsUUID(reverse(unhex(str))) uuid2
|
||||
reinterpretAsUUID(reverse(unhex(str))) as uuid2
|
||||
select uuid = uuid2;
|
||||
|
Loading…
Reference in New Issue
Block a user