ClickHouse/tests/queries/0_stateless/02429_offset_pipeline_stuck_bug.sql

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

5 lines
205 B
MySQL
Raw Normal View History

CREATE TABLE t ENGINE = Log AS SELECT * FROM system.numbers LIMIT 20;
SET enable_optimize_predicate_expression = 0;
SELECT number FROM (select number FROM t ORDER BY number OFFSET 3) WHERE number < NULL;