mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 15:12:02 +00:00
Let's check without projection just in case
This commit is contained in:
parent
2f615e9176
commit
e679e952c8
@ -2,5 +2,7 @@ drop table if exists t;
|
|||||||
|
|
||||||
create table t (s UInt16, l UInt16, projection p (select s, l order by l)) engine MergeTree order by s;
|
create table t (s UInt16, l UInt16, projection p (select s, l order by l)) engine MergeTree order by s;
|
||||||
|
|
||||||
set allow_experimental_projection_optimization=1;
|
select s from t join (select toUInt16(1) as s) x using (s) settings allow_experimental_projection_optimization = 1;
|
||||||
select s from t join (select toUInt16(1) as s) x using (s);
|
select s from t join (select toUInt16(1) as s) x using (s) settings allow_experimental_projection_optimization = 0;
|
||||||
|
|
||||||
|
drop table t;
|
||||||
|
Loading…
Reference in New Issue
Block a user