mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-24 16:42:05 +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 -%}
|