ClickHouse/tests/queries/0_stateless/02010_array_index_bad_cast.sql

3 lines
272 B
MySQL
Raw Normal View History

2021-08-15 06:33:08 +00:00
-- This query throws exception about uncomparable data types (but at least it does not introduce bad cast in code).
SELECT has(materialize(CAST(['2021-07-14'] AS Array(LowCardinality(Nullable(DateTime))))), materialize('2021-07-14'::DateTime64(7))); -- { serverError 44 }