ClickHouse/tests/queries/0_stateless/03215_key_condition_bug.sql

3 lines
194 B
SQL

CREATE TABLE t (x Int8) ENGINE MergeTree ORDER BY x;
INSERT INTO t VALUES (1);
SELECT arrayJoin([tuple((toNullable(10) * toLowCardinality(20)) < materialize(30))]) AS row FROM t WHERE row.1 = 0;