mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 23:21:59 +00:00
fix join_default_strictness according to new default settings
This commit is contained in:
parent
120e2cbe2f
commit
ce678f0e9c
@ -14,11 +14,8 @@ INSERT INTO test.a2 VALUES (1, 2);
|
||||
INSERT INTO test.a2 VALUES (1, 3);
|
||||
INSERT INTO test.a2 VALUES (1, 4);
|
||||
|
||||
SELECT a, b FROM test.a1 LEFT JOIN (SELECT a, b FROM test.a2) USING a ORDER BY b; -- { serverError 417 }
|
||||
|
||||
SELECT a, b FROM test.a1 LEFT JOIN (SELECT a, b FROM test.a2) USING a ORDER BY b SETTINGS join_default_strictness='ANY';
|
||||
|
||||
SELECT a, b FROM test.a1 LEFT JOIN (SELECT a, b FROM test.a2) USING a ORDER BY b SETTINGS join_default_strictness='ALL';
|
||||
SELECT a, b FROM test.a1 LEFT JOIN (SELECT a, b FROM test.a2) USING a ORDER BY b; -- default SETTINGS join_default_strictness='ALL';
|
||||
|
||||
DROP TABLE IF EXISTS test.a1;
|
||||
DROP TABLE IF EXISTS test.a2;
|
||||
|
Loading…
Reference in New Issue
Block a user