mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-23 08:02:02 +00:00
dbms: added test [#METR-16762].
This commit is contained in:
parent
d1df9bd43b
commit
b417ef015f
@ -0,0 +1,3 @@
|
||||
1 0 999
|
||||
2 0 999
|
||||
3 0 999
|
17
dbms/tests/queries/0_stateless/00169_join_constant_keys.sql
Normal file
17
dbms/tests/queries/0_stateless/00169_join_constant_keys.sql
Normal file
@ -0,0 +1,17 @@
|
||||
SELECT
|
||||
key1,
|
||||
key2,
|
||||
table_1
|
||||
FROM
|
||||
(
|
||||
SELECT
|
||||
arrayJoin([1, 2, 3]) AS key1,
|
||||
0 AS key2,
|
||||
999 AS table_1
|
||||
) ALL INNER JOIN
|
||||
(
|
||||
SELECT
|
||||
arrayJoin([1, 3, 2]) AS key1,
|
||||
0 AS key2,
|
||||
999 AS table_1
|
||||
) USING key2, key1;
|
Loading…
Reference in New Issue
Block a user