mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 15:12:02 +00:00
Added a test just in case #3584
This commit is contained in:
parent
954c974507
commit
fac15418aa
@ -0,0 +1,6 @@
|
||||
iphone 1
|
||||
|
||||
iphone 1
|
||||
iphone 1
|
||||
|
||||
\N 1
|
2
dbms/tests/queries/0_stateless/00757_enum_defaults.sql
Normal file
2
dbms/tests/queries/0_stateless/00757_enum_defaults.sql
Normal file
@ -0,0 +1,2 @@
|
||||
select os_name, count() from (SELECT CAST('iphone' AS Enum8('iphone' = 1, 'android' = 2)) AS os_name) group by os_name WITH TOTALS;
|
||||
select toNullable(os_name) AS os_name, count() from (SELECT CAST('iphone' AS Enum8('iphone' = 1, 'android' = 2)) AS os_name) group by os_name WITH TOTALS;
|
Loading…
Reference in New Issue
Block a user