ClickHouse/tests/queries/0_stateless/02021_prewhere_column_optimization.reference

8 lines
254 B
Plaintext
Raw Normal View History

-- { 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;