mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 07:31:57 +00:00
Added reinterpretAsUUID description
This commit is contained in:
parent
90dcc135b4
commit
aad09fc6f4
@ -323,6 +323,10 @@ This function accepts a number or date or date with time, and returns a string c
|
|||||||
|
|
||||||
This function accepts a number or date or date with time, and returns a FixedString containing bytes representing the corresponding value in host order (little endian). Null bytes are dropped from the end. For example, a UInt32 type value of 255 is a FixedString that is one byte long.
|
This function accepts a number or date or date with time, and returns a FixedString containing bytes representing the corresponding value in host order (little endian). Null bytes are dropped from the end. For example, a UInt32 type value of 255 is a FixedString that is one byte long.
|
||||||
|
|
||||||
|
## reinterpretAsUUID {#reinterpretasuuid}
|
||||||
|
|
||||||
|
This function accepts FixedString, and returns UUID. Takes 16 bytes string. If the string isn't long enough, the functions work as if the string is padded with the necessary number of null bytes to the rear. If the string longer than 16 bytes, the extra bytes in the rear are ignored.
|
||||||
|
|
||||||
## CAST(x, T) {#type_conversion_function-cast}
|
## CAST(x, T) {#type_conversion_function-cast}
|
||||||
|
|
||||||
Converts ‘x’ to the ‘t’ data type. The syntax CAST(x AS t) is also supported.
|
Converts ‘x’ to the ‘t’ data type. The syntax CAST(x AS t) is also supported.
|
||||||
|
Loading…
Reference in New Issue
Block a user