fix another tests

This commit is contained in:
chertus 2019-08-06 20:53:57 +03:00
parent 3705035457
commit 2fee5ccd34
2 changed files with 4 additions and 0 deletions

View File

@ -1,3 +1,5 @@
SET any_join_get_any_from_right_table = 1;
select x, y from (select 1 as x, 2 as y, x, y); select x, y from (select 1 as x, 2 as y, x, y);
select x, y from (select 1 as x, 1 as y, x, y); select x, y from (select 1 as x, 1 as y, x, y);
select x from (select 1 as x, 1 as y, x, y); select x from (select 1 as x, 1 as y, x, y);

View File

@ -1,3 +1,5 @@
SET any_join_get_any_from_right_table = 1;
SELECT k, a1, b1, a2, b2 FROM (SELECT 0 AS k, 'hello' AS a1, 123 AS b1, a1) ANY FULL OUTER JOIN (SELECT 1 AS k, 'hello' AS a2, 456 AS b2, a2) USING (k) ORDER BY k; SELECT k, a1, b1, a2, b2 FROM (SELECT 0 AS k, 'hello' AS a1, 123 AS b1, a1) ANY FULL OUTER JOIN (SELECT 1 AS k, 'hello' AS a2, 456 AS b2, a2) USING (k) ORDER BY k;
SELECT k, a, b FROM (SELECT 0 AS k, 'hello' AS a, 123 AS b, a) ANY FULL OUTER JOIN (SELECT 1 AS k) USING (k) ORDER BY k; SELECT k, a, b FROM (SELECT 0 AS k, 'hello' AS a, 123 AS b, a) ANY FULL OUTER JOIN (SELECT 1 AS k) USING (k) ORDER BY k;