mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-27 01:51:59 +00:00
Merge pull request #47450 from ClickHouse/vdimir/fix_01429_join_on_error_messages
This commit is contained in:
commit
81380356a3
@ -15,7 +15,7 @@ SET join_algorithm = 'partial_merge';
|
|||||||
SELECT 1 FROM (select 1 a) A JOIN (select 1 b, 1 c) B ON a = b OR a = c; -- { serverError 48 }
|
SELECT 1 FROM (select 1 a) A JOIN (select 1 b, 1 c) B ON a = b OR a = c; -- { serverError 48 }
|
||||||
-- works for a = b OR a = b because of equivalent disjunct optimization
|
-- works for a = b OR a = b because of equivalent disjunct optimization
|
||||||
|
|
||||||
SET join_algorithm = 'auto';
|
SET join_algorithm = 'grace_hash';
|
||||||
SELECT 1 FROM (select 1 a) A JOIN (select 1 b, 1 c) B ON a = b OR a = c; -- { serverError 48 }
|
SELECT 1 FROM (select 1 a) A JOIN (select 1 b, 1 c) B ON a = b OR a = c; -- { serverError 48 }
|
||||||
-- works for a = b OR a = b because of equivalent disjunct optimization
|
-- works for a = b OR a = b because of equivalent disjunct optimization
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user