ClickHouse/tests/queries/0_stateless/02021_prewhere_column_optimization.reference
2021-10-26 22:56:44 +03:00

8 lines
254 B
Plaintext

-- { echoOn }
select * from data_02021 prewhere 1 or ignore(key);
1
select * from data_02021 prewhere 1 or ignore(key) where key = 1;
1
select * from data_02021 prewhere 0 or ignore(key);
select * from data_02021 prewhere 0 or ignore(key) where key = 1;