Added test.

This commit is contained in:
Nikolai Kochetov 2021-01-28 12:44:12 +03:00
parent e2ade3c574
commit 3d0f878535
2 changed files with 5 additions and 0 deletions

View File

@ -0,0 +1,5 @@
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; }
select x from tab array join arr prewhere arr where x != 0; -- { serverError 47; }
drop table if exists tab;