mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-05 15:21:43 +00:00
10 lines
419 B
Django/Jinja
10 lines
419 B
Django/Jinja
SET max_block_size = 6, join_algorithm = 'partial_merge';
|
|
|
|
{% for i in range(4, 16) -%}
|
|
SELECT count() == {{ i }} FROM (SELECT 100 AS s) AS js1 ALL RIGHT JOIN ( SELECT number AS s FROM numbers({{ i }}) ) AS js2 USING (s);
|
|
{% endfor -%}
|
|
|
|
{% for i in range(4, 16) -%}
|
|
SELECT count() == {{ i + 1 }} FROM (SELECT 100 AS s) AS js1 ALL FULL JOIN ( SELECT number AS s FROM numbers({{ i }}) ) AS js2 USING (s);
|
|
{% endfor -%}
|