ClickHouse/tests/queries/0_stateless/02468_has_any_tuple.sql
2022-10-20 01:39:08 +02:00

5 lines
297 B
SQL

select [(toUInt8(3), toUInt8(3))] = [(toInt16(3), toInt16(3))];
select hasAny([(toInt16(3), toInt16(3))],[(toInt16(3), toInt16(3))]);
select arrayFilter(x -> x = (toInt16(3), toInt16(3)), arrayZip([toUInt8(3)], [toUInt8(3)]));
select hasAny([(toUInt8(3), toUInt8(3))],[(toInt16(3), toInt16(3))]);