ClickHouse/tests/queries/0_stateless/02010_array_index_bad_cast.sql
2021-08-15 09:33:08 +03:00

3 lines
272 B
SQL

-- 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 }