mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-27 18:12:02 +00:00
update tests for using clause
This commit is contained in:
parent
2582399271
commit
983514f946
@ -359,8 +359,8 @@ t1 ALL FULL JOIN tn2 | bs = {{ block_size }}
|
||||
2 \N 5 0
|
||||
2 \N 5 0
|
||||
3 3 4 4
|
||||
{% if join_algorithm != 'grace_hash' -%}
|
||||
t1 ALL FULL JOIN USING tn2 | bs = {{ block_size }}
|
||||
{% if join_algorithm == 'full_sorting_merge' -%}
|
||||
1 4 5
|
||||
1 4 5
|
||||
2 5 0
|
||||
@ -378,24 +378,6 @@ t1 ALL FULL JOIN USING tn2 | bs = {{ block_size }}
|
||||
\N 0 5
|
||||
\N 0 5
|
||||
\N 0 5
|
||||
{% else -%}
|
||||
0 0 5
|
||||
0 0 5
|
||||
0 0 5
|
||||
0 0 5
|
||||
0 0 5
|
||||
0 0 5
|
||||
0 0 5
|
||||
1 4 5
|
||||
1 4 5
|
||||
2 5 0
|
||||
2 5 0
|
||||
2 5 0
|
||||
2 5 0
|
||||
2 5 0
|
||||
2 5 0
|
||||
2 5 0
|
||||
3 4 4
|
||||
{% endif -%}
|
||||
tn1 ALL INNER JOIN t2 | bs = {{ block_size }}
|
||||
1 1 4 5
|
||||
@ -551,6 +533,7 @@ tn1 ALL FULL JOIN tn2 | bs = {{ block_size }}
|
||||
\N \N 5 0
|
||||
\N \N 5 0
|
||||
\N \N 5 0
|
||||
{% if join_algorithm != 'grace_hash' -%}
|
||||
tn1 ALL FULL JOIN USING tn2 | bs = {{ block_size }}
|
||||
1 4 5
|
||||
1 4 5
|
||||
@ -569,5 +552,6 @@ tn1 ALL FULL JOIN USING tn2 | bs = {{ block_size }}
|
||||
\N 5 0
|
||||
\N 5 0
|
||||
\N 5 0
|
||||
{% endif -%}
|
||||
{% endfor -%}
|
||||
{% endfor -%}
|
||||
|
@ -46,9 +46,10 @@ SELECT t1.key, t2.key, length(t1.s), t2.s FROM {{ t1 }} AS t1 {{ kind }} RIGHT J
|
||||
SELECT '{{ t1 }} ALL FULL JOIN {{ t2 }} | bs = {{ block_size }}';
|
||||
SELECT t1.key, t2.key, length(t1.s), length(t2.s) FROM {{ t1 }} AS t1 {{ kind }} FULL JOIN {{ t2 }} AS t2 ON t1.key == t2.key ORDER BY t1.key, t2.key, length(t1.s), length(t2.s); {{ is_implemented(join_algorithm) }}
|
||||
|
||||
{% if join_algorithm == 'full_sorting_merge' or t2 != 'tn2' -%}
|
||||
SELECT '{{ t1 }} ALL FULL JOIN USING {{ t2 }} | bs = {{ block_size }}';
|
||||
SELECT key, length(t1.s), length(t2.s) FROM {{ t1 }} AS t1 ALL FULL JOIN {{ t2 }} AS t2 USING (key) ORDER BY key, length(t1.s), length(t2.s); {{ is_implemented(join_algorithm) }}
|
||||
|
||||
{% endif -%}
|
||||
{% endfor -%}
|
||||
{% endfor -%}
|
||||
SET max_bytes_in_join = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user