ClickHouse/tests/queries/0_stateless/01674_where_prewhere_array_crash.sql

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

6 lines
330 B
MySQL
Raw Normal View History

2021-01-28 09:44:12 +00:00
drop table if exists tab;
create table tab (x UInt64, `arr.a` Array(UInt64), `arr.b` Array(UInt64)) engine = MergeTree order by x;
select x from tab array join arr prewhere x != 0 where arr; -- { serverError 47, 59 }
select x from tab array join arr prewhere arr where x != 0; -- { serverError 47, 59 }
2021-01-28 09:44:12 +00:00
drop table if exists tab;