From f04d74172f794b76c393036ec2014a1d639d8b11 Mon Sep 17 00:00:00 2001 From: feng lv Date: Sun, 1 Nov 2020 15:41:31 +0000 Subject: [PATCH] fix --- ...9_union_distinct_and_setting_union_default_mode.reference | 5 +++++ .../01529_union_distinct_and_setting_union_default_mode.sql | 2 ++ 2 files changed, 7 insertions(+) diff --git a/tests/queries/0_stateless/01529_union_distinct_and_setting_union_default_mode.reference b/tests/queries/0_stateless/01529_union_distinct_and_setting_union_default_mode.reference index 868cadf1d81..f9f3ee818e9 100644 --- a/tests/queries/0_stateless/01529_union_distinct_and_setting_union_default_mode.reference +++ b/tests/queries/0_stateless/01529_union_distinct_and_setting_union_default_mode.reference @@ -10,6 +10,8 @@ 1 1 1 +all +all 1 1 1 @@ -51,6 +53,9 @@ 1 1 1 +all +all +all 1 1 1 diff --git a/tests/queries/0_stateless/01529_union_distinct_and_setting_union_default_mode.sql b/tests/queries/0_stateless/01529_union_distinct_and_setting_union_default_mode.sql index 30ccfdc8c45..6e45c150508 100644 --- a/tests/queries/0_stateless/01529_union_distinct_and_setting_union_default_mode.sql +++ b/tests/queries/0_stateless/01529_union_distinct_and_setting_union_default_mode.sql @@ -2,6 +2,7 @@ SELECT 1; (((((((SELECT 1) UNION SELECT 1) UNION SELECT 1) UNION SELECT 1) UNION SELECT 1) UNION SELECT 1) UNION SELECT 1) UNION SELECT 1; (((((((SELECT 1) UNION ALL SELECT 1) UNION ALL SELECT 1) UNION ALL SELECT 1) UNION ALL SELECT 1) UNION ALL SELECT 1) UNION ALL SELECT 1) UNION ALL SELECT 1; SELECT 1 UNION SELECT 1 UNION SELECT 1 UNION ALL SELECT 1; +SELECT 'all' UNION SELECT 'all' UNION ALL SELECT 'all'; SELECT 1 UNION SELECT 1 UNION SELECT 1 UNION DISTINCT SELECT 1; SELECT 1 UNION ALL SELECT 1 UNION ALL SELECT 1 UNION SELECT 1 UNION ALL SELECT 1; SELECT 1 UNION (SELECT 1 UNION ALL SELECT 1 UNION SELECT 1 UNION DISTINCT SELECT 1 UNION ALL SELECT 1); @@ -15,6 +16,7 @@ SET union_default_mode='ALL'; (((((((SELECT 1) UNION SELECT 1) UNION SELECT 1) UNION SELECT 1) UNION SELECT 1) UNION SELECT 1) UNION SELECT 1) UNION SELECT 1; (((((((SELECT 1) UNION ALL SELECT 1) UNION ALL SELECT 1) UNION ALL SELECT 1) UNION ALL SELECT 1) UNION ALL SELECT 1) UNION ALL SELECT 1) UNION ALL SELECT 1; SELECT 1 UNION SELECT 1 UNION SELECT 1 UNION ALL SELECT 1; +SELECT 'all' UNION SELECT 'all' UNION ALL SELECT 'all'; SELECT 1 UNION SELECT 1 UNION SELECT 1 UNION DISTINCT SELECT 1; SELECT 1 UNION ALL SELECT 1 UNION ALL SELECT 1 UNION SELECT 1 UNION ALL SELECT 1; SELECT 1 UNION (SELECT 1 UNION ALL SELECT 1 UNION SELECT 1 UNION DISTINCT SELECT 1 UNION ALL SELECT 1);