Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -14,23 +14,30 @@ INSERT INTO t3 VALUES ('a_1', 'c'), ('b_1', 'd');

SET enable_analyzer = 1;

-- TODO: join_use_nulls reveals another issue in stress tests
-- Mute for now and track bug in
-- https://github.com/ClickHouse/ClickHouse/issues/87016

SELECT t1.id || '_1' AS id, t1.val
FROM t1
LEFT JOIN t2 ON t1.id = t2.id
LEFT JOIN t3 USING (id)
ORDER BY t1.val
SETTINGS join_use_nulls = 0
;

SELECT t2.id || '_1' AS id, t1.val
FROM t1
LEFT JOIN t2 ON t1.id = t2.id
LEFT JOIN t3 USING (id)
ORDER BY t1.val
SETTINGS join_use_nulls = 0
;

SELECT t1.id || t2.id || '_1' AS id, t1.val
FROM t1
INNER JOIN t2 ON t1.id = t2.id
LEFT JOIN t3 USING (id)
ORDER BY t1.val
SETTINGS join_use_nulls = 0
; -- { serverError AMBIGUOUS_IDENTIFIER }
Loading