mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-25 00:52:02 +00:00
Update 01080_engine_merge_prewhere_tupleelement_error.sql
optimize_move_to_prewhere=0
This commit is contained in:
parent
eec35ce32d
commit
dada5cf6ca
@ -4,6 +4,8 @@ CREATE TABLE A1( a DateTime ) ENGINE = MergeTree ORDER BY tuple();
|
||||
CREATE TABLE A_M as A1 ENGINE = Merge(currentDatabase(), '^A1$');
|
||||
insert into A1(a) select now();
|
||||
|
||||
set optimize_move_to_prewhere=0;
|
||||
|
||||
SELECT tupleElement(arrayJoin([(1, 1)]), 1) FROM A_M PREWHERE tupleElement((1, 1), 1) =1;
|
||||
|
||||
SELECT tupleElement(arrayJoin([(1, 1)]), 1) FROM A_M WHERE tupleElement((1, 1), 1) =1;
|
||||
|
Loading…
Reference in New Issue
Block a user