mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 15:12:02 +00:00
Added test with LowCardinality(Nullable) to not-Nullable cast.
This commit is contained in:
parent
1e35f87760
commit
eef0e08fbd
@ -0,0 +1,4 @@
|
||||
Hello
|
||||
\N
|
||||
Hello
|
||||
Hello
|
@ -0,0 +1,6 @@
|
||||
SELECT CAST('Hello' AS LowCardinality(Nullable(String)));
|
||||
SELECT CAST(Null AS LowCardinality(Nullable(String)));
|
||||
SELECT CAST(CAST('Hello' AS LowCardinality(Nullable(String))) AS String);
|
||||
SELECT CAST(CAST(Null AS LowCardinality(Nullable(String))) AS String); -- { serverError 349 }
|
||||
SELECT CAST(CAST('Hello' AS Nullable(String)) AS String);
|
||||
SELECT CAST(CAST(Null AS Nullable(String)) AS String); -- { serverError 349 }
|
Loading…
Reference in New Issue
Block a user