DT
select cast(toUUID(0), ‘UUID’)
- будет работать ? просто инттересноSize: a a a
DT
select cast(toUUID(0), ‘UUID’)
- будет работать ? просто инттересноM
AZ
AP
| cast(toUUID(0), 'UUID') | version()|
|------------------------------------|----------|
|00000000-0000-0000-0000-000000000000|20.8.10.13|
DT
col_name UInt32 DEFAULT some_uint8
DT
M
| cast(toUUID(0), 'UUID') | version()|
|------------------------------------|----------|
|00000000-0000-0000-0000-000000000000|20.8.10.13|
DT
SELECT
cast(toUUID(0), 'UUID'),
version()
Received exception from server (version 21.1.1):
Code: 48. DB::Exception: Received from localhost:9000. DB::Exception: Conversion between numeric types and UUID is not supported: While processing cast(toUUID(0), 'UUID'), version().
AP
AP
Expression toUUID(N) no longer works. Replace with toUUID('00000000-0000-0000-0000-000000000000'). This change is motivated by non-obvious results of toUUID(N) where N is non zero.
AP
AP
DT
M
AP
DT
M
M
M
AP