ClickHouse/tests/queries/0_stateless/02575_merge_prewhere_ephemeral.reference

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

12 lines
295 B
Plaintext
Raw Normal View History

-- { echoOn }
SELECT * FROM m PREWHERE a = 'OK' ORDER BY a;
OK
OK
SELECT * FROM m PREWHERE f = 1 ORDER BY a; -- { serverError ILLEGAL_PREWHERE }
SELECT * FROM m WHERE a = 'OK' SETTINGS optimize_move_to_prewhere=0;
OK
OK
SELECT * FROM m WHERE a = 'OK' SETTINGS optimize_move_to_prewhere=1;
OK
OK