Fix hung query in stress test

This commit is contained in:
Alexey Milovidov 2022-12-26 16:46:51 +01:00
parent 280e14456f
commit 47cc08ada3

View File

@ -3,4 +3,5 @@ SELECT * FROM (
FROM system.numbers
ANY LEFT JOIN (SELECT number / 3 AS n, number AS j1, 'Hello' AS j2 FROM system.numbers LIMIT 10) js2
USING n LIMIT 10
) ORDER BY n;
) ORDER BY n
SETTINGS join_algorithm = 'hash'; -- the query does not finish with merge join