ClickHouse/tests/queries/0_stateless/01721_join_implicit_cast_long.reference.j2
2022-09-26 13:47:29 +00:00

447 lines
5.1 KiB
Django/Jinja

{% for join_algorithm in ['hash', 'partial_merge', 'auto', 'full_sorting_merge', 'grace_hash'] -%}
=== {{ join_algorithm }} ===
= full =
{% if join_algorithm not in ['grace_hash'] -%}
-4 0 196
-3 0 197
-2 0 198
-1 0 199
0 0 200
1 101 201
2 102 202
3 103 203
4 104 204
5 105 205
6 106 \N
7 107 \N
8 108 \N
9 109 \N
10 110 \N
{% endif -%}
= left =
1 101 201
2 102 202
3 103 203
4 104 204
5 105 205
6 106 \N
7 107 \N
8 108 \N
9 109 \N
10 110 \N
= right =
{% if join_algorithm not in ['grace_hash'] -%}
-4 0 196
-3 0 197
-2 0 198
-1 0 199
0 0 200
1 101 201
2 102 202
3 103 203
4 104 204
5 105 205
{% endif -%}
= inner =
1 101 201
2 102 202
3 103 203
4 104 204
5 105 205
= full =
{% if join_algorithm not in ['grace_hash'] -%}
0 0 -4
0 0 -3
0 0 -2
0 0 -1
0 0 0
1 1 1
2 2 2
3 3 3
4 4 4
5 5 5
6 6 0
7 7 0
8 8 0
9 9 0
10 10 0
{% endif -%}
= left =
1 1 1
2 2 2
3 3 3
4 4 4
5 5 5
6 6 0
7 7 0
8 8 0
9 9 0
10 10 0
= right =
{% if join_algorithm not in ['grace_hash'] -%}
0 0 -4
0 0 -3
0 0 -2
0 0 -1
0 0 0
1 1 1
2 2 2
3 3 3
4 4 4
5 5 5
{% endif -%}
= inner =
1 1 1
2 2 2
3 3 3
4 4 4
5 5 5
= join on =
= full =
{% if join_algorithm not in ['grace_hash'] -%}
0 0 -4 196
0 0 -3 197
0 0 -2 198
0 0 -1 199
0 0 0 200
1 101 1 201
2 102 2 202
3 103 3 203
4 104 4 204
5 105 5 205
6 106 0 \N
7 107 0 \N
8 108 0 \N
9 109 0 \N
10 110 0 \N
{% endif -%}
= left =
1 101 1 201
2 102 2 202
3 103 3 203
4 104 4 204
5 105 5 205
6 106 0 \N
7 107 0 \N
8 108 0 \N
9 109 0 \N
10 110 0 \N
= right =
{% if join_algorithm not in ['grace_hash'] -%}
0 0 -4 196
0 0 -3 197
0 0 -2 198
0 0 -1 199
0 0 0 200
1 101 1 201
2 102 2 202
3 103 3 203
4 104 4 204
5 105 5 205
{% endif -%}
= inner =
1 101 1 201
2 102 2 202
3 103 3 203
4 104 4 204
5 105 5 205
= full =
{% if join_algorithm not in ['grace_hash'] -%}
0 0 -4 196
0 0 -3 197
0 0 -2 198
0 0 -1 199
0 0 0 200
1 101 1 201
2 102 2 202
3 103 3 203
4 104 4 204
5 105 5 205
6 106 0 \N
7 107 0 \N
8 108 0 \N
9 109 0 \N
10 110 0 \N
{% endif -%}
= left =
1 101 1 201
2 102 2 202
3 103 3 203
4 104 4 204
5 105 5 205
6 106 0 \N
7 107 0 \N
8 108 0 \N
9 109 0 \N
10 110 0 \N
= right =
{% if join_algorithm not in ['grace_hash'] -%}
0 0 -4 196
0 0 -3 197
0 0 -2 198
0 0 -1 199
0 0 0 200
1 101 1 201
2 102 2 202
3 103 3 203
4 104 4 204
5 105 5 205
{% endif -%}
= inner =
1 101 1 201
2 102 2 202
3 103 3 203
4 104 4 204
5 105 5 205
= agg =
1
1
{% if join_algorithm not in ['grace_hash'] -%}
1
1
1
1
0 -10 0
1 55 1055
0 0 -10 0 990
1 55 15 1055 1015
{% endif -%}
= types =
1
1
1
1
{% if join_algorithm not in ['grace_hash'] -%}
1
1
1
1
1
1
1
{% endif -%}
{% if join_algorithm not in ['full_sorting_merge'] -%}
=== join use nulls ===
= full =
{% if join_algorithm not in ['grace_hash'] -%}
-4 \N 196
-3 \N 197
-2 \N 198
-1 \N 199
0 \N 200
1 101 201
2 102 202
3 103 203
4 104 204
5 105 205
6 106 \N
7 107 \N
8 108 \N
9 109 \N
10 110 \N
{% endif -%}
= left =
1 101 201
2 102 202
3 103 203
4 104 204
5 105 205
6 106 \N
7 107 \N
8 108 \N
9 109 \N
10 110 \N
= right =
{% if join_algorithm not in ['grace_hash'] -%}
-4 \N 196
-3 \N 197
-2 \N 198
-1 \N 199
0 \N 200
1 101 201
2 102 202
3 103 203
4 104 204
5 105 205
{% endif -%}
= inner =
1 101 201
2 102 202
3 103 203
4 104 204
5 105 205
= full =
{% if join_algorithm not in ['grace_hash'] -%}
1 1 1
2 2 2
3 3 3
4 4 4
5 5 5
6 6 \N
7 7 \N
8 8 \N
9 9 \N
10 10 \N
\N \N -4
\N \N -3
\N \N -2
\N \N -1
\N \N 0
{% endif -%}
= left =
1 1 1
2 2 2
3 3 3
4 4 4
5 5 5
6 6 \N
7 7 \N
8 8 \N
9 9 \N
10 10 \N
= right =
{% if join_algorithm not in ['grace_hash'] -%}
1 1 1
2 2 2
3 3 3
4 4 4
5 5 5
\N \N -4
\N \N -3
\N \N -2
\N \N -1
\N \N 0
{% endif -%}
= inner =
1 1 1
2 2 2
3 3 3
4 4 4
5 5 5
= join on =
= full =
{% if join_algorithm not in ['grace_hash'] -%}
1 101 1 201
2 102 2 202
3 103 3 203
4 104 4 204
5 105 5 205
6 106 \N \N
7 107 \N \N
8 108 \N \N
9 109 \N \N
10 110 \N \N
\N \N -4 196
\N \N -3 197
\N \N -2 198
\N \N -1 199
\N \N 0 200
{% endif -%}
= left =
1 101 1 201
2 102 2 202
3 103 3 203
4 104 4 204
5 105 5 205
6 106 \N \N
7 107 \N \N
8 108 \N \N
9 109 \N \N
10 110 \N \N
= right =
{% if join_algorithm not in ['grace_hash'] -%}
1 101 1 201
2 102 2 202
3 103 3 203
4 104 4 204
5 105 5 205
\N \N -4 196
\N \N -3 197
\N \N -2 198
\N \N -1 199
\N \N 0 200
{% endif -%}
= inner =
1 101 1 201
2 102 2 202
3 103 3 203
4 104 4 204
5 105 5 205
= full =
{% if join_algorithm not in ['grace_hash'] -%}
1 101 1 201
2 102 2 202
3 103 3 203
4 104 4 204
5 105 5 205
6 106 \N \N
7 107 \N \N
8 108 \N \N
9 109 \N \N
10 110 \N \N
\N \N -4 196
\N \N -3 197
\N \N -2 198
\N \N -1 199
\N \N 0 200
{% endif -%}
= left =
1 101 1 201
2 102 2 202
3 103 3 203
4 104 4 204
5 105 5 205
6 106 \N \N
7 107 \N \N
8 108 \N \N
9 109 \N \N
10 110 \N \N
= right =
{% if join_algorithm not in ['grace_hash'] -%}
1 101 1 201
2 102 2 202
3 103 3 203
4 104 4 204
5 105 5 205
\N \N -4 196
\N \N -3 197
\N \N -2 198
\N \N -1 199
\N \N 0 200
{% endif -%}
= inner =
1 101 1 201
2 102 2 202
3 103 3 203
4 104 4 204
5 105 5 205
= agg =
1
1
{% if join_algorithm not in ['grace_hash'] -%}
1
1
1
1
0 -10 \N
1 55 1055
1 55 15 1055 1015
\N \N -10 \N 990
{% endif -%}
= types =
1
1
1
1
{% if join_algorithm not in ['grace_hash'] -%}
1
1
1
1
1
1
1
{% endif -%}
{% endif -%}
{% endfor -%}