mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-25 00:52:02 +00:00
fix test
This commit is contained in:
parent
3348697128
commit
1c297412d4
@ -10,3 +10,7 @@
|
|||||||
1 0
|
1 0
|
||||||
2 11
|
2 11
|
||||||
3 0
|
3 0
|
||||||
|
0 10
|
||||||
|
1 0
|
||||||
|
2 11
|
||||||
|
3 0
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
SET partial_merge_join = 0;
|
SET join_algorithm = 'hash';
|
||||||
|
|
||||||
SELECT number as n, j FROM numbers(4)
|
SELECT number as n, j FROM numbers(4)
|
||||||
ANY LEFT JOIN (
|
ANY LEFT JOIN (
|
||||||
@ -16,7 +16,7 @@ ANY LEFT JOIN (
|
|||||||
) js2
|
) js2
|
||||||
USING n; -- { serverError 191 }
|
USING n; -- { serverError 191 }
|
||||||
|
|
||||||
SET partial_merge_join = 1;
|
SET join_algorithm = 'partial_merge';
|
||||||
|
|
||||||
SELECT number as n, j FROM numbers(4)
|
SELECT number as n, j FROM numbers(4)
|
||||||
ANY LEFT JOIN (
|
ANY LEFT JOIN (
|
||||||
@ -33,3 +33,12 @@ ANY LEFT JOIN (
|
|||||||
FROM numbers(4000)
|
FROM numbers(4000)
|
||||||
) js2
|
) js2
|
||||||
USING n;
|
USING n;
|
||||||
|
|
||||||
|
SET join_algorithm = 'auto';
|
||||||
|
|
||||||
|
SELECT number as n, j FROM numbers(4)
|
||||||
|
ANY LEFT JOIN (
|
||||||
|
SELECT number * 2 AS n, number + 10 AS j
|
||||||
|
FROM numbers(4000)
|
||||||
|
) js2
|
||||||
|
USING n;
|
||||||
|
Loading…
Reference in New Issue
Block a user