mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 15:12:02 +00:00
Added a test from @filimonov #9936
This commit is contained in:
parent
98294dc9fa
commit
0a9c49beee
1
tests/queries/0_stateless/01258_wrong_cast_filimonov.sql
Normal file
1
tests/queries/0_stateless/01258_wrong_cast_filimonov.sql
Normal file
@ -0,0 +1 @@
|
|||||||
|
create table x( id UInt64, t AggregateFunction(argMax, Enum8('<Empty>' = -1, 'Male' = 1, 'Female' = 2), UInt64) DEFAULT arrayReduce('argMaxState', ['cast(-1, \'Enum8(\'<Empty>\' = -1, \'Male\' = 1, \'Female\' = 2)'], [toUInt64(0)]) ) Engine=MergeTree ORDER BY id; -- { serverError 70 }
|
Loading…
Reference in New Issue
Block a user