fix reinterpretAsFixedString for UUID

fix
This commit is contained in:
feng lv 2021-05-17 07:13:34 +00:00
parent 98e6c27a95
commit dcf5d345e8
3 changed files with 3 additions and 0 deletions

View File

@ -35,6 +35,7 @@ public:
bool textCanContainOnlyValidUTF8() const override { return true; }
bool isComparable() const override { return true; }
bool isValueUnambiguouslyRepresentedInContiguousMemoryRegion() const override { return true; }
bool isValueUnambiguouslyRepresentedInFixedSizeContiguousMemoryRegion() const override { return true; }
bool haveMaximumSizeOfValue() const override { return true; }
size_t getSizeOfValueInMemory() const override { return sizeof(UUID); }
bool isCategorial() const override { return true; }

View File

@ -0,0 +1 @@
E711B35C04C4F061A0DBD36A00A67B90

View File

@ -0,0 +1 @@
SELECT hex(reinterpretAsFixedString(toUUID('61f0c404-5cb3-11e7-907b-a6006ad3dba0')));