mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 15:42:02 +00:00
fix 02815_join_algorithm_setting
This commit is contained in:
parent
6d31638a69
commit
b04cf7a698
@ -103,4 +103,10 @@ JOIN ( SELECT k AS key, k + 100 AS key2 FROM t2 ) AS t2 ON t1.key = t2.key OR t1
|
||||
|
||||
-- But for CROSS choose `hash` algorithm even though it's not enabled
|
||||
SELECT * FROM ( SELECT number AS key, number * 10 AS key2 FROM numbers_mt(10) ) AS t1
|
||||
CROSS JOIN ( SELECT k AS key, k + 100 AS key2 FROM t2 ) AS t2 FORMAT Null;
|
||||
CROSS JOIN ( SELECT k AS key, k + 100 AS key2 FROM t2 ) AS t2 FORMAT Null
|
||||
SETTINGS allow_experimental_analyzer = 1;
|
||||
|
||||
-- ... (not for old analyzer)
|
||||
SELECT * FROM ( SELECT number AS key, number * 10 AS key2 FROM numbers_mt(10) ) AS t1
|
||||
CROSS JOIN ( SELECT k AS key, k + 100 AS key2 FROM t2 ) AS t2 FORMAT Null
|
||||
SETTINGS allow_experimental_analyzer = 0; -- { serverError NOT_IMPLEMENTED }
|
||||
|
Loading…
Reference in New Issue
Block a user