clickhouse-docs icon indicating copy to clipboard operation
clickhouse-docs copied to clipboard

UUIDs in Native and *Binary formats

Open cyanide-burnout opened this issue 3 years ago • 1 comments

We have found a lack that the format of UUIDs is not defined in documentation for Native and *Binary formats. By default it is expected that it uses normal network byte order but in fact a client has to spilt UUID in network byte order into two Uint64 words and then reverse byte order of each part. I am not specifically writing "little endian" because the described operation works in both directions.

cyanide-burnout avatar Jan 22 '22 14:01 cyanide-burnout

@Avogar can you help me understand what to write in the docs for this? I do not understand what the process would be.

DanRoscigno avatar Jul 07 '23 13:07 DanRoscigno