From c6c700c93617e62f89345332fbe87de55b7451c4 Mon Sep 17 00:00:00 2001 From: Anton Gozhiy Date: Fri, 5 Jul 2019 19:11:06 +0300 Subject: [PATCH] DRILL-7200: Baseline updates due to Calcite update (#590) - After the Calcite update (1.20) a validation was added for duplicate aliases. Fixed by making them unique. - Fixed plans where literals are now concatenated with type. --- ...mal_fixed_len_byte_array_old_parquet_new_metadata.plan | 2 +- ...imal_fixed_len_byte_array_old_parquet_no_metadata.plan | 2 +- ...DRILL_6744_decimal_int32_new_parquet_new_metadata.plan | 2 +- .../DRILL_6744_decimal_int32_new_parquet_no_metadata.plan | 2 +- ...DRILL_6744_decimal_int64_new_parquet_new_metadata.plan | 2 +- .../DRILL_6744_decimal_int64_new_parquet_no_metadata.plan | 2 +- ...DRILL_6744_decimal_int64_old_parquet_new_metadata.plan | 2 +- .../DRILL_6744_decimal_int64_old_parquet_no_metadata.plan | 2 +- ...DRILL_6744_decimal_int64_old_parquet_old_metadata.plan | 2 +- ...fixed_len_byte_array_old_parquet_no_metadata_hive.plan | 2 +- .../resources/Functional/joins/nulleqjoin/nullEqJoin_04.q | 2 +- .../resources/Functional/joins/nulleqjoin/nullEqJoin_18.q | 2 +- .../aggregates/aggregation/count_distinct/plan/q7.sql | 8 ++++---- .../multicolumn/data/with_exprs_d18_group_by_10_cols.sql | 2 +- .../multicolumn/data/with_exprs_d18_group_by_13_cols.sql | 2 +- .../multicolumn/data/with_exprs_d18_group_by_16_cols.sql | 2 +- .../multicolumn/data/with_exprs_d18_group_by_19_cols.sql | 2 +- .../multicolumn/data/with_exprs_d18_group_by_1_cols.sql | 2 +- .../multicolumn/data/with_exprs_d18_group_by_22_cols.sql | 2 +- .../multicolumn/data/with_exprs_d18_group_by_25_cols.sql | 2 +- .../multicolumn/data/with_exprs_d18_group_by_28_cols.sql | 2 +- .../multicolumn/data/with_exprs_d18_group_by_31_cols.sql | 2 +- .../multicolumn/data/with_exprs_d18_group_by_4_cols.sql | 2 +- .../multicolumn/data/with_exprs_d18_group_by_7_cols.sql | 2 +- .../multicolumn/data/with_exprs_d28_group_by_10_cols.sql | 2 +- .../multicolumn/data/with_exprs_d28_group_by_13_cols.sql | 2 +- .../multicolumn/data/with_exprs_d28_group_by_16_cols.sql | 2 +- .../multicolumn/data/with_exprs_d28_group_by_19_cols.sql | 2 +- .../multicolumn/data/with_exprs_d28_group_by_1_cols.sql | 2 +- .../multicolumn/data/with_exprs_d28_group_by_22_cols.sql | 2 +- .../multicolumn/data/with_exprs_d28_group_by_25_cols.sql | 2 +- .../multicolumn/data/with_exprs_d28_group_by_28_cols.sql | 2 +- .../multicolumn/data/with_exprs_d28_group_by_31_cols.sql | 2 +- .../multicolumn/data/with_exprs_d28_group_by_4_cols.sql | 2 +- .../multicolumn/data/with_exprs_d28_group_by_7_cols.sql | 2 +- .../multicolumn/data/with_exprs_d38_group_by_10_cols.sql | 2 +- .../multicolumn/data/with_exprs_d38_group_by_13_cols.sql | 2 +- .../multicolumn/data/with_exprs_d38_group_by_16_cols.sql | 2 +- .../multicolumn/data/with_exprs_d38_group_by_19_cols.sql | 2 +- .../multicolumn/data/with_exprs_d38_group_by_1_cols.sql | 2 +- .../multicolumn/data/with_exprs_d38_group_by_22_cols.sql | 2 +- .../multicolumn/data/with_exprs_d38_group_by_25_cols.sql | 2 +- .../multicolumn/data/with_exprs_d38_group_by_28_cols.sql | 2 +- .../multicolumn/data/with_exprs_d38_group_by_31_cols.sql | 2 +- .../multicolumn/data/with_exprs_d38_group_by_4_cols.sql | 2 +- .../multicolumn/data/with_exprs_d38_group_by_7_cols.sql | 2 +- .../multicolumn/data/with_exprs_d9_group_by_10_cols.sql | 2 +- .../multicolumn/data/with_exprs_d9_group_by_13_cols.sql | 2 +- .../multicolumn/data/with_exprs_d9_group_by_16_cols.sql | 2 +- .../multicolumn/data/with_exprs_d9_group_by_19_cols.sql | 2 +- .../multicolumn/data/with_exprs_d9_group_by_1_cols.sql | 2 +- .../multicolumn/data/with_exprs_d9_group_by_22_cols.sql | 2 +- .../multicolumn/data/with_exprs_d9_group_by_25_cols.sql | 2 +- .../multicolumn/data/with_exprs_d9_group_by_28_cols.sql | 2 +- .../multicolumn/data/with_exprs_d9_group_by_31_cols.sql | 2 +- .../multicolumn/data/with_exprs_d9_group_by_4_cols.sql | 2 +- .../multicolumn/data/with_exprs_d9_group_by_7_cols.sql | 2 +- .../multicolumn/plan/with_exprs_d18_group_by_10_cols.sql | 2 +- .../multicolumn/plan/with_exprs_d18_group_by_13_cols.sql | 2 +- .../multicolumn/plan/with_exprs_d18_group_by_16_cols.sql | 2 +- .../multicolumn/plan/with_exprs_d18_group_by_19_cols.sql | 2 +- .../multicolumn/plan/with_exprs_d18_group_by_1_cols.sql | 2 +- .../multicolumn/plan/with_exprs_d18_group_by_22_cols.sql | 2 +- .../multicolumn/plan/with_exprs_d18_group_by_25_cols.sql | 2 +- .../multicolumn/plan/with_exprs_d18_group_by_28_cols.sql | 2 +- .../multicolumn/plan/with_exprs_d18_group_by_31_cols.sql | 2 +- .../multicolumn/plan/with_exprs_d18_group_by_4_cols.sql | 2 +- .../multicolumn/plan/with_exprs_d18_group_by_7_cols.sql | 2 +- .../multicolumn/plan/with_exprs_d28_group_by_10_cols.sql | 2 +- .../multicolumn/plan/with_exprs_d28_group_by_13_cols.sql | 2 +- .../multicolumn/plan/with_exprs_d28_group_by_16_cols.sql | 2 +- .../multicolumn/plan/with_exprs_d28_group_by_19_cols.sql | 2 +- .../multicolumn/plan/with_exprs_d28_group_by_1_cols.sql | 2 +- .../multicolumn/plan/with_exprs_d28_group_by_22_cols.sql | 2 +- .../multicolumn/plan/with_exprs_d28_group_by_25_cols.sql | 2 +- .../multicolumn/plan/with_exprs_d28_group_by_28_cols.sql | 2 +- .../multicolumn/plan/with_exprs_d28_group_by_31_cols.sql | 2 +- .../multicolumn/plan/with_exprs_d28_group_by_4_cols.sql | 2 +- .../multicolumn/plan/with_exprs_d28_group_by_7_cols.sql | 2 +- .../multicolumn/plan/with_exprs_d38_group_by_10_cols.sql | 2 +- .../multicolumn/plan/with_exprs_d38_group_by_13_cols.sql | 2 +- .../multicolumn/plan/with_exprs_d38_group_by_16_cols.sql | 2 +- .../multicolumn/plan/with_exprs_d38_group_by_19_cols.sql | 2 +- .../multicolumn/plan/with_exprs_d38_group_by_1_cols.sql | 2 +- .../multicolumn/plan/with_exprs_d38_group_by_22_cols.sql | 2 +- .../multicolumn/plan/with_exprs_d38_group_by_25_cols.sql | 2 +- .../multicolumn/plan/with_exprs_d38_group_by_28_cols.sql | 2 +- .../multicolumn/plan/with_exprs_d38_group_by_31_cols.sql | 2 +- .../multicolumn/plan/with_exprs_d38_group_by_4_cols.sql | 2 +- .../multicolumn/plan/with_exprs_d38_group_by_7_cols.sql | 2 +- .../multicolumn/plan/with_exprs_d9_group_by_10_cols.sql | 2 +- .../multicolumn/plan/with_exprs_d9_group_by_13_cols.sql | 2 +- .../multicolumn/plan/with_exprs_d9_group_by_16_cols.sql | 2 +- .../multicolumn/plan/with_exprs_d9_group_by_19_cols.sql | 2 +- .../multicolumn/plan/with_exprs_d9_group_by_1_cols.sql | 2 +- .../multicolumn/plan/with_exprs_d9_group_by_22_cols.sql | 2 +- .../multicolumn/plan/with_exprs_d9_group_by_25_cols.sql | 2 +- .../multicolumn/plan/with_exprs_d9_group_by_28_cols.sql | 2 +- .../multicolumn/plan/with_exprs_d9_group_by_31_cols.sql | 2 +- .../multicolumn/plan/with_exprs_d9_group_by_4_cols.sql | 2 +- .../multicolumn/plan/with_exprs_d9_group_by_7_cols.sql | 2 +- .../Functional/limit0/p1tests/parquet/data/outer_join1.q | 2 +- .../Functional/limit0/p1tests/parquet/plan/outer_join1.q | 2 +- .../Functional/limit0/p1tests/text/data/outer_join1.q | 2 +- .../Functional/limit0/p1tests/text/plan/outer_join1.q | 2 +- 105 files changed, 108 insertions(+), 108 deletions(-) diff --git a/framework/resources/Functional/filter/pushdown/varchar_decimal/dfs/DRILL_6744_decimal_fixed_len_byte_array_old_parquet_new_metadata.plan b/framework/resources/Functional/filter/pushdown/varchar_decimal/dfs/DRILL_6744_decimal_fixed_len_byte_array_old_parquet_new_metadata.plan index a1f9436d7..8465bca49 100644 --- a/framework/resources/Functional/filter/pushdown/varchar_decimal/dfs/DRILL_6744_decimal_fixed_len_byte_array_old_parquet_new_metadata.plan +++ b/framework/resources/Functional/filter/pushdown/varchar_decimal/dfs/DRILL_6744_decimal_fixed_len_byte_array_old_parquet_new_metadata.plan @@ -1,2 +1,2 @@ -Filter\(condition=\[>\(\$0, 999\.9\)\]\) +Filter\(condition=\[>\(\$0, 999\.9:DECIMAL\(\d+, \d+\)\)\]\) Scan.*numFiles=1.*numRowGroups=18.*usedMetadataFile=true.*columns=\[`ps_supplycost`, `ps_availqty`, `ps_comment`\] \ No newline at end of file diff --git a/framework/resources/Functional/filter/pushdown/varchar_decimal/dfs/DRILL_6744_decimal_fixed_len_byte_array_old_parquet_no_metadata.plan b/framework/resources/Functional/filter/pushdown/varchar_decimal/dfs/DRILL_6744_decimal_fixed_len_byte_array_old_parquet_no_metadata.plan index 1d16189a5..5d919ef40 100644 --- a/framework/resources/Functional/filter/pushdown/varchar_decimal/dfs/DRILL_6744_decimal_fixed_len_byte_array_old_parquet_no_metadata.plan +++ b/framework/resources/Functional/filter/pushdown/varchar_decimal/dfs/DRILL_6744_decimal_fixed_len_byte_array_old_parquet_no_metadata.plan @@ -1,2 +1,2 @@ -Filter\(condition=\[>\(\$0, 999\.9\)\]\) +Filter\(condition=\[>\(\$0, 999\.9:DECIMAL\(\d+, \d+\)\)\]\) Scan.*numFiles=1.*numRowGroups=18.*usedMetadataFile=false.*columns=\[`ps_supplycost`, `ps_availqty`, `ps_comment`\] \ No newline at end of file diff --git a/framework/resources/Functional/filter/pushdown/varchar_decimal/dfs/DRILL_6744_decimal_int32_new_parquet_new_metadata.plan b/framework/resources/Functional/filter/pushdown/varchar_decimal/dfs/DRILL_6744_decimal_int32_new_parquet_new_metadata.plan index 2280e8acb..8f9d093ec 100644 --- a/framework/resources/Functional/filter/pushdown/varchar_decimal/dfs/DRILL_6744_decimal_int32_new_parquet_new_metadata.plan +++ b/framework/resources/Functional/filter/pushdown/varchar_decimal/dfs/DRILL_6744_decimal_int32_new_parquet_new_metadata.plan @@ -1,4 +1,4 @@ -Filter\(condition=\[AND\(<=\(\$1, 1\), >=\(\$2, 0\.08\), <=\(\$2, 0\.09\), =\(\$3, 0\)\)\]\) +Filter\(condition=\[AND\(<=\(\$1, 1\), >=\(\$2, 0\.08:DECIMAL\(\d+, \d+\)\), <=\(\$2, 0\.09:DECIMAL\(\d+, \d+\)\), =\(\$3, 0\)\)\]\) Scan.*numFiles=5.*numRowGroups=5.*usedMetadataFile=true.*columns=\[`l_partkey`, `l_quantity`, `l_discount`, `l_tax`, `l_suppkey`\] .* Filter\(condition=\[<\(\$1, 5\)\]\) diff --git a/framework/resources/Functional/filter/pushdown/varchar_decimal/dfs/DRILL_6744_decimal_int32_new_parquet_no_metadata.plan b/framework/resources/Functional/filter/pushdown/varchar_decimal/dfs/DRILL_6744_decimal_int32_new_parquet_no_metadata.plan index ab14a0e77..13639a4e3 100644 --- a/framework/resources/Functional/filter/pushdown/varchar_decimal/dfs/DRILL_6744_decimal_int32_new_parquet_no_metadata.plan +++ b/framework/resources/Functional/filter/pushdown/varchar_decimal/dfs/DRILL_6744_decimal_int32_new_parquet_no_metadata.plan @@ -1,4 +1,4 @@ -Filter\(condition=\[AND\(<=\(\$1, 1\), >=\(\$2, 0\.08\), <=\(\$2, 0\.09\), =\(\$3, 0\)\)\]\) +Filter\(condition=\[AND\(<=\(\$1, 1\), >=\(\$2, 0\.08:DECIMAL\(\d+, \d+\)\), <=\(\$2, 0\.09:DECIMAL\(\d+, \d+\)\), =\(\$3, 0\)\)\]\) Scan.*numFiles=5.*numRowGroups=5.*usedMetadataFile=false.*columns=\[`l_partkey`, `l_quantity`, `l_discount`, `l_tax`, `l_suppkey`\] .* Filter\(condition=\[<\(\$1, 5\)\]\) diff --git a/framework/resources/Functional/filter/pushdown/varchar_decimal/dfs/DRILL_6744_decimal_int64_new_parquet_new_metadata.plan b/framework/resources/Functional/filter/pushdown/varchar_decimal/dfs/DRILL_6744_decimal_int64_new_parquet_new_metadata.plan index b12fd5216..da7d212d5 100644 --- a/framework/resources/Functional/filter/pushdown/varchar_decimal/dfs/DRILL_6744_decimal_int64_new_parquet_new_metadata.plan +++ b/framework/resources/Functional/filter/pushdown/varchar_decimal/dfs/DRILL_6744_decimal_int64_new_parquet_new_metadata.plan @@ -1,2 +1,2 @@ -Filter\(condition=\[>\(\$0, 94700\.999\)\]\) +Filter\(condition=\[>\(\$0, 94700\.999:DECIMAL\(\d+, \d+\)\)\]\) Scan.*numFiles=9.*numRowGroups=9.*usedMetadataFile=true.*columns=\[`l_extendedprice`, `l_orderkey`, `l_shipmode`, `l_tax`\] \ No newline at end of file diff --git a/framework/resources/Functional/filter/pushdown/varchar_decimal/dfs/DRILL_6744_decimal_int64_new_parquet_no_metadata.plan b/framework/resources/Functional/filter/pushdown/varchar_decimal/dfs/DRILL_6744_decimal_int64_new_parquet_no_metadata.plan index c95e2a3b2..948474669 100644 --- a/framework/resources/Functional/filter/pushdown/varchar_decimal/dfs/DRILL_6744_decimal_int64_new_parquet_no_metadata.plan +++ b/framework/resources/Functional/filter/pushdown/varchar_decimal/dfs/DRILL_6744_decimal_int64_new_parquet_no_metadata.plan @@ -1,2 +1,2 @@ -Filter\(condition=\[>\(\$0, 94700\.999\)\]\) +Filter\(condition=\[>\(\$0, 94700\.999:DECIMAL\(\d+, \d+\)\)\]\) Scan.*numFiles=9.*numRowGroups=9.*usedMetadataFile=false.*columns=\[`l_extendedprice`, `l_orderkey`, `l_shipmode`, `l_tax`\] \ No newline at end of file diff --git a/framework/resources/Functional/filter/pushdown/varchar_decimal/dfs/DRILL_6744_decimal_int64_old_parquet_new_metadata.plan b/framework/resources/Functional/filter/pushdown/varchar_decimal/dfs/DRILL_6744_decimal_int64_old_parquet_new_metadata.plan index 4e75dc2a6..756e61cf1 100644 --- a/framework/resources/Functional/filter/pushdown/varchar_decimal/dfs/DRILL_6744_decimal_int64_old_parquet_new_metadata.plan +++ b/framework/resources/Functional/filter/pushdown/varchar_decimal/dfs/DRILL_6744_decimal_int64_old_parquet_new_metadata.plan @@ -1,2 +1,2 @@ -Filter\(condition=\[>\(\$0, 1900\.989\)\]\) +Filter\(condition=\[>\(\$0, 1900\.989:DECIMAL\(\d+, \d+\)\)\]\) Scan.*numFiles=1.*numRowGroups=5.*usedMetadataFile=true.*columns=\[`p_retailprice`, `p_name`, `p_brand`\] \ No newline at end of file diff --git a/framework/resources/Functional/filter/pushdown/varchar_decimal/dfs/DRILL_6744_decimal_int64_old_parquet_no_metadata.plan b/framework/resources/Functional/filter/pushdown/varchar_decimal/dfs/DRILL_6744_decimal_int64_old_parquet_no_metadata.plan index f6c335eaa..4b9efdedd 100644 --- a/framework/resources/Functional/filter/pushdown/varchar_decimal/dfs/DRILL_6744_decimal_int64_old_parquet_no_metadata.plan +++ b/framework/resources/Functional/filter/pushdown/varchar_decimal/dfs/DRILL_6744_decimal_int64_old_parquet_no_metadata.plan @@ -1,2 +1,2 @@ -Filter\(condition=\[>\(\$0, 1900\.989\)\]\) +Filter\(condition=\[>\(\$0, 1900\.989:DECIMAL\(\d+, \d+\)\)\]\) Scan.*numFiles=1.*numRowGroups=5.*usedMetadataFile=false.*columns=\[`p_retailprice`, `p_name`, `p_brand`\] \ No newline at end of file diff --git a/framework/resources/Functional/filter/pushdown/varchar_decimal/dfs/DRILL_6744_decimal_int64_old_parquet_old_metadata.plan b/framework/resources/Functional/filter/pushdown/varchar_decimal/dfs/DRILL_6744_decimal_int64_old_parquet_old_metadata.plan index 81d2427ef..712e3bf82 100644 --- a/framework/resources/Functional/filter/pushdown/varchar_decimal/dfs/DRILL_6744_decimal_int64_old_parquet_old_metadata.plan +++ b/framework/resources/Functional/filter/pushdown/varchar_decimal/dfs/DRILL_6744_decimal_int64_old_parquet_old_metadata.plan @@ -1,2 +1,2 @@ -Filter\(condition=\[>\(\$0, 1900\.989\)\]\) +Filter\(condition=\[>\(\$0, 1900\.989:DECIMAL\(\d+, \d+\)\)\]\) Scan.*numFiles=1.*numRowGroups=1.*usedMetadataFile=true.*columns=\[`p_retailprice`, `p_name`, `p_brand`\] \ No newline at end of file diff --git a/framework/resources/Functional/filter/pushdown/varchar_decimal/hive/DRILL_6744_decimal_fixed_len_byte_array_old_parquet_no_metadata_hive.plan b/framework/resources/Functional/filter/pushdown/varchar_decimal/hive/DRILL_6744_decimal_fixed_len_byte_array_old_parquet_no_metadata_hive.plan index acf12fa30..10e63ab84 100644 --- a/framework/resources/Functional/filter/pushdown/varchar_decimal/hive/DRILL_6744_decimal_fixed_len_byte_array_old_parquet_no_metadata_hive.plan +++ b/framework/resources/Functional/filter/pushdown/varchar_decimal/hive/DRILL_6744_decimal_fixed_len_byte_array_old_parquet_no_metadata_hive.plan @@ -1,2 +1,2 @@ -Filter\(condition=\[>\(\$1, 999\.9\)\]\) +Filter\(condition=\[>\(\$1, 999\.9:DECIMAL\(\d+, \d+\)\)\]\) Scan.*HiveDrillNativeParquetScan.*numFiles=18.*numRowGroups=18.*columns=\[`ps_availqty`, `ps_supplycost`, `ps_comment`\] \ No newline at end of file diff --git a/framework/resources/Functional/joins/nulleqjoin/nullEqJoin_04.q b/framework/resources/Functional/joins/nulleqjoin/nullEqJoin_04.q index 8a3df11e3..18bea2feb 100644 --- a/framework/resources/Functional/joins/nulleqjoin/nullEqJoin_04.q +++ b/framework/resources/Functional/joins/nulleqjoin/nullEqJoin_04.q @@ -1,7 +1,7 @@ SELECT * FROM ( - SELECT t1.c4 , t2.c4 + SELECT t1.c4 t1_c4, t2.c4 t2_c4 FROM `t_alltype.parquet` t1, `t_alltype.parquet` t2 WHERE t1.c4 = t2.c4 OR (t1.c4 IS NULL AND t2.c4 IS NULL) ORDER BY t1.c4 nulls last diff --git a/framework/resources/Functional/joins/nulleqjoin/nullEqJoin_18.q b/framework/resources/Functional/joins/nulleqjoin/nullEqJoin_18.q index e03734a0c..d6fcf31d7 100644 --- a/framework/resources/Functional/joins/nulleqjoin/nullEqJoin_18.q +++ b/framework/resources/Functional/joins/nulleqjoin/nullEqJoin_18.q @@ -1,6 +1,6 @@ select * from ( - select t1.c4, t2.c4 + select t1.c4 t1_c4, t2.c4 t2_c4 from `t_alltype.parquet` t1, `t_alltype.parquet` t2 WHERE t1.c4 = t2.c4 or (t1.c4 IS NULL AND t2.c4 IS NULL) ORDER BY t1.c4 NULLS LAST ); diff --git a/framework/resources/Functional/limit0/aggregates/aggregation/count_distinct/plan/q7.sql b/framework/resources/Functional/limit0/aggregates/aggregation/count_distinct/plan/q7.sql index 68124d304..c119b11f8 100644 --- a/framework/resources/Functional/limit0/aggregates/aggregation/count_distinct/plan/q7.sql +++ b/framework/resources/Functional/limit0/aggregates/aggregation/count_distinct/plan/q7.sql @@ -14,10 +14,10 @@ select t1.a1, count(distinct t2.b2) as distinct_b2, count(distinct t1.c1) as distinct_c1, count(distinct t2.c2) as distinct_c2, - sum(t1.a1) as sum_a1, - sum(t2.a2) as sum_a1, - avg(t1.a1) as sum_a1, - avg(t2.a2) as sum_a1, + sum(t1.a1) as sum_t1_a1, + sum(t2.a2) as sum_t2_a2, + avg(t1.a1) as avg_t1_a1, + avg(t2.a2) as avg_t2_a2, count(t1.c1) as count_a1, count(*) as count_star from diff --git a/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/data/with_exprs_d18_group_by_10_cols.sql b/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/data/with_exprs_d18_group_by_10_cols.sql index 8f07d5f51..0f6cd4b2a 100644 --- a/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/data/with_exprs_d18_group_by_10_cols.sql +++ b/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/data/with_exprs_d18_group_by_10_cols.sql @@ -10,7 +10,7 @@ select --sum(case when a.d18 = 0 then 100 else round(a.d18/12) end) as case_in_sum_d18, cast(sum(case when a.d18 = 0 then 100 else round(a.d18/12) end) as bigint) as case_in_sum_d18, --coalesce(sum(case when a.d18 = 0 then 100 else round(a.d18/12) end), 0) as case_in_sum_d18 - cast(coalesce(sum(case when a.d18 = 0 then 100 else round(a.d18/12) end), 0) as bigint) as case_in_sum_d18 + cast(coalesce(sum(case when a.d18 = 0 then 100 else round(a.d18/12) end), 0) as bigint) as case_in_sum_d18_0 from alltypes_with_nulls_v a diff --git a/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/data/with_exprs_d18_group_by_13_cols.sql b/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/data/with_exprs_d18_group_by_13_cols.sql index 5831fbe8c..3b815bf50 100644 --- a/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/data/with_exprs_d18_group_by_13_cols.sql +++ b/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/data/with_exprs_d18_group_by_13_cols.sql @@ -10,7 +10,7 @@ select --sum(case when a.d18 = 0 then 100 else round(a.d18/12) end) as case_in_sum_d18, cast(sum(case when a.d18 = 0 then 100 else round(a.d18/12) end) as bigint) as case_in_sum_d18, --coalesce(sum(case when a.d18 = 0 then 100 else round(a.d18/12) end), 0) as case_in_sum_d18 - cast(coalesce(sum(case when a.d18 = 0 then 100 else round(a.d18/12) end), 0) as bigint) as case_in_sum_d18 + cast(coalesce(sum(case when a.d18 = 0 then 100 else round(a.d18/12) end), 0) as bigint) as case_in_sum_d18_0 from alltypes_with_nulls_v a diff --git a/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/data/with_exprs_d18_group_by_16_cols.sql b/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/data/with_exprs_d18_group_by_16_cols.sql index 81618614f..67106a0ec 100644 --- a/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/data/with_exprs_d18_group_by_16_cols.sql +++ b/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/data/with_exprs_d18_group_by_16_cols.sql @@ -10,7 +10,7 @@ select --sum(case when a.d18 = 0 then 100 else round(a.d18/12) end) as case_in_sum_d18, cast(sum(case when a.d18 = 0 then 100 else round(a.d18/12) end) as bigint) as case_in_sum_d18, --coalesce(sum(case when a.d18 = 0 then 100 else round(a.d18/12) end), 0) as case_in_sum_d18 - cast(coalesce(sum(case when a.d18 = 0 then 100 else round(a.d18/12) end), 0) as bigint) as case_in_sum_d18 + cast(coalesce(sum(case when a.d18 = 0 then 100 else round(a.d18/12) end), 0) as bigint) as case_in_sum_d18_0 from alltypes_with_nulls_v a diff --git a/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/data/with_exprs_d18_group_by_19_cols.sql b/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/data/with_exprs_d18_group_by_19_cols.sql index 94ccf413b..a0b52a6fe 100644 --- a/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/data/with_exprs_d18_group_by_19_cols.sql +++ b/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/data/with_exprs_d18_group_by_19_cols.sql @@ -10,7 +10,7 @@ select --sum(case when a.d18 = 0 then 100 else round(a.d18/12) end) as case_in_sum_d18, cast(sum(case when a.d18 = 0 then 100 else round(a.d18/12) end) as bigint) as case_in_sum_d18, --coalesce(sum(case when a.d18 = 0 then 100 else round(a.d18/12) end), 0) as case_in_sum_d18 - cast(coalesce(sum(case when a.d18 = 0 then 100 else round(a.d18/12) end), 0) as bigint) as case_in_sum_d18 + cast(coalesce(sum(case when a.d18 = 0 then 100 else round(a.d18/12) end), 0) as bigint) as case_in_sum_d18_0 from alltypes_with_nulls_v a diff --git a/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/data/with_exprs_d18_group_by_1_cols.sql b/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/data/with_exprs_d18_group_by_1_cols.sql index 5203aa698..6b601bcf9 100644 --- a/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/data/with_exprs_d18_group_by_1_cols.sql +++ b/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/data/with_exprs_d18_group_by_1_cols.sql @@ -10,7 +10,7 @@ select --sum(case when a.d18 = 0 then 100 else round(a.d18/12) end) as case_in_sum_d18, cast(sum(case when a.d18 = 0 then 100 else round(a.d18/12) end) as bigint) as case_in_sum_d18, --coalesce(sum(case when a.d18 = 0 then 100 else round(a.d18/12) end), 0) as case_in_sum_d18 - cast(coalesce(sum(case when a.d18 = 0 then 100 else round(a.d18/12) end), 0) as bigint) as case_in_sum_d18 + cast(coalesce(sum(case when a.d18 = 0 then 100 else round(a.d18/12) end), 0) as bigint) as case_in_sum_d18_0 from alltypes_with_nulls_v a diff --git a/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/data/with_exprs_d18_group_by_22_cols.sql b/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/data/with_exprs_d18_group_by_22_cols.sql index 47be3b599..ca3ddbc69 100644 --- a/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/data/with_exprs_d18_group_by_22_cols.sql +++ b/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/data/with_exprs_d18_group_by_22_cols.sql @@ -10,7 +10,7 @@ select --sum(case when a.d18 = 0 then 100 else round(a.d18/12) end) as case_in_sum_d18, cast(sum(case when a.d18 = 0 then 100 else round(a.d18/12) end) as bigint) as case_in_sum_d18, --coalesce(sum(case when a.d18 = 0 then 100 else round(a.d18/12) end), 0) as case_in_sum_d18 - cast(coalesce(sum(case when a.d18 = 0 then 100 else round(a.d18/12) end), 0) as bigint) as case_in_sum_d18 + cast(coalesce(sum(case when a.d18 = 0 then 100 else round(a.d18/12) end), 0) as bigint) as case_in_sum_d18_0 from alltypes_with_nulls_v a diff --git a/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/data/with_exprs_d18_group_by_25_cols.sql b/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/data/with_exprs_d18_group_by_25_cols.sql index ceb87d753..15238a0ac 100644 --- a/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/data/with_exprs_d18_group_by_25_cols.sql +++ b/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/data/with_exprs_d18_group_by_25_cols.sql @@ -10,7 +10,7 @@ select --sum(case when a.d18 = 0 then 100 else round(a.d18/12) end) as case_in_sum_d18, cast(sum(case when a.d18 = 0 then 100 else round(a.d18/12) end) as bigint) as case_in_sum_d18, --coalesce(sum(case when a.d18 = 0 then 100 else round(a.d18/12) end), 0) as case_in_sum_d18 - cast(coalesce(sum(case when a.d18 = 0 then 100 else round(a.d18/12) end), 0) as bigint) as case_in_sum_d18 + cast(coalesce(sum(case when a.d18 = 0 then 100 else round(a.d18/12) end), 0) as bigint) as case_in_sum_d18_0 from alltypes_with_nulls_v a diff --git a/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/data/with_exprs_d18_group_by_28_cols.sql b/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/data/with_exprs_d18_group_by_28_cols.sql index fc29e258c..55adba577 100644 --- a/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/data/with_exprs_d18_group_by_28_cols.sql +++ b/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/data/with_exprs_d18_group_by_28_cols.sql @@ -10,7 +10,7 @@ select --sum(case when a.d18 = 0 then 100 else round(a.d18/12) end) as case_in_sum_d18, cast(sum(case when a.d18 = 0 then 100 else round(a.d18/12) end) as bigint) as case_in_sum_d18, --coalesce(sum(case when a.d18 = 0 then 100 else round(a.d18/12) end), 0) as case_in_sum_d18 - cast(coalesce(sum(case when a.d18 = 0 then 100 else round(a.d18/12) end), 0) as bigint) as case_in_sum_d18 + cast(coalesce(sum(case when a.d18 = 0 then 100 else round(a.d18/12) end), 0) as bigint) as case_in_sum_d18_0 from alltypes_with_nulls_v a diff --git a/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/data/with_exprs_d18_group_by_31_cols.sql b/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/data/with_exprs_d18_group_by_31_cols.sql index 39a16226a..f2f5c534e 100644 --- a/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/data/with_exprs_d18_group_by_31_cols.sql +++ b/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/data/with_exprs_d18_group_by_31_cols.sql @@ -10,7 +10,7 @@ select --sum(case when a.d18 = 0 then 100 else round(a.d18/12) end) as case_in_sum_d18, cast(sum(case when a.d18 = 0 then 100 else round(a.d18/12) end) as bigint) as case_in_sum_d18, --coalesce(sum(case when a.d18 = 0 then 100 else round(a.d18/12) end), 0) as case_in_sum_d18 - cast(coalesce(sum(case when a.d18 = 0 then 100 else round(a.d18/12) end), 0) as bigint) as case_in_sum_d18 + cast(coalesce(sum(case when a.d18 = 0 then 100 else round(a.d18/12) end), 0) as bigint) as case_in_sum_d18_0 from alltypes_with_nulls_v a diff --git a/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/data/with_exprs_d18_group_by_4_cols.sql b/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/data/with_exprs_d18_group_by_4_cols.sql index 6dbbeecaa..49207976f 100644 --- a/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/data/with_exprs_d18_group_by_4_cols.sql +++ b/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/data/with_exprs_d18_group_by_4_cols.sql @@ -10,7 +10,7 @@ select --sum(case when a.d18 = 0 then 100 else round(a.d18/12) end) as case_in_sum_d18, cast(sum(case when a.d18 = 0 then 100 else round(a.d18/12) end) as bigint) as case_in_sum_d18, --coalesce(sum(case when a.d18 = 0 then 100 else round(a.d18/12) end), 0) as case_in_sum_d18 - cast(coalesce(sum(case when a.d18 = 0 then 100 else round(a.d18/12) end), 0) as bigint) as case_in_sum_d18 + cast(coalesce(sum(case when a.d18 = 0 then 100 else round(a.d18/12) end), 0) as bigint) as case_in_sum_d18_0 from alltypes_with_nulls_v a diff --git a/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/data/with_exprs_d18_group_by_7_cols.sql b/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/data/with_exprs_d18_group_by_7_cols.sql index a5e625cb3..548e72110 100644 --- a/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/data/with_exprs_d18_group_by_7_cols.sql +++ b/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/data/with_exprs_d18_group_by_7_cols.sql @@ -10,7 +10,7 @@ select --sum(case when a.d18 = 0 then 100 else round(a.d18/12) end) as case_in_sum_d18, cast(sum(case when a.d18 = 0 then 100 else round(a.d18/12) end) as bigint) as case_in_sum_d18, --coalesce(sum(case when a.d18 = 0 then 100 else round(a.d18/12) end), 0) as case_in_sum_d18 - cast(coalesce(sum(case when a.d18 = 0 then 100 else round(a.d18/12) end), 0) as bigint) as case_in_sum_d18 + cast(coalesce(sum(case when a.d18 = 0 then 100 else round(a.d18/12) end), 0) as bigint) as case_in_sum_d18_0 from alltypes_with_nulls_v a diff --git a/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/data/with_exprs_d28_group_by_10_cols.sql b/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/data/with_exprs_d28_group_by_10_cols.sql index 77afd008b..def556fe4 100644 --- a/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/data/with_exprs_d28_group_by_10_cols.sql +++ b/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/data/with_exprs_d28_group_by_10_cols.sql @@ -10,7 +10,7 @@ select --sum(case when a.d28 = 0 then 100 else round(a.d28/12) end) as case_in_sum_d28, cast(sum(case when a.d28 = 0 then 100 else round(a.d28/12) end) as bigint) as case_in_sum_d28, --coalesce(sum(case when a.d28 = 0 then 100 else round(a.d28/12) end), 0) as case_in_sum_d28 - cast(coalesce(sum(case when a.d28 = 0 then 100 else round(a.d28/12) end), 0) as bigint) as case_in_sum_d28 + cast(coalesce(sum(case when a.d28 = 0 then 100 else round(a.d28/12) end), 0) as bigint) as case_in_sum_d28_0 from alltypes_with_nulls_v a diff --git a/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/data/with_exprs_d28_group_by_13_cols.sql b/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/data/with_exprs_d28_group_by_13_cols.sql index 6a8a3e0d6..2f4259f8f 100644 --- a/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/data/with_exprs_d28_group_by_13_cols.sql +++ b/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/data/with_exprs_d28_group_by_13_cols.sql @@ -10,7 +10,7 @@ select --sum(case when a.d28 = 0 then 100 else round(a.d28/12) end) as case_in_sum_d28, cast(sum(case when a.d28 = 0 then 100 else round(a.d28/12) end) as bigint) as case_in_sum_d28, --coalesce(sum(case when a.d28 = 0 then 100 else round(a.d28/12) end), 0) as case_in_sum_d28 - cast(coalesce(sum(case when a.d28 = 0 then 100 else round(a.d28/12) end), 0) as bigint) as case_in_sum_d28 + cast(coalesce(sum(case when a.d28 = 0 then 100 else round(a.d28/12) end), 0) as bigint) as case_in_sum_d28_0 from alltypes_with_nulls_v a diff --git a/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/data/with_exprs_d28_group_by_16_cols.sql b/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/data/with_exprs_d28_group_by_16_cols.sql index 3c9850997..f8c9f3526 100644 --- a/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/data/with_exprs_d28_group_by_16_cols.sql +++ b/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/data/with_exprs_d28_group_by_16_cols.sql @@ -10,7 +10,7 @@ select --sum(case when a.d28 = 0 then 100 else round(a.d28/12) end) as case_in_sum_d28, cast(sum(case when a.d28 = 0 then 100 else round(a.d28/12) end) as bigint) as case_in_sum_d28, --coalesce(sum(case when a.d28 = 0 then 100 else round(a.d28/12) end), 0) as case_in_sum_d28 - cast(coalesce(sum(case when a.d28 = 0 then 100 else round(a.d28/12) end), 0) as bigint) as case_in_sum_d28 + cast(coalesce(sum(case when a.d28 = 0 then 100 else round(a.d28/12) end), 0) as bigint) as case_in_sum_d28_0 from alltypes_with_nulls_v a diff --git a/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/data/with_exprs_d28_group_by_19_cols.sql b/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/data/with_exprs_d28_group_by_19_cols.sql index bfb0b9599..78784338d 100644 --- a/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/data/with_exprs_d28_group_by_19_cols.sql +++ b/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/data/with_exprs_d28_group_by_19_cols.sql @@ -10,7 +10,7 @@ select --sum(case when a.d28 = 0 then 100 else round(a.d28/12) end) as case_in_sum_d28, cast(sum(case when a.d28 = 0 then 100 else round(a.d28/12) end) as bigint) as case_in_sum_d28, --coalesce(sum(case when a.d28 = 0 then 100 else round(a.d28/12) end), 0) as case_in_sum_d28 - cast(coalesce(sum(case when a.d28 = 0 then 100 else round(a.d28/12) end), 0) as bigint) as case_in_sum_d28 + cast(coalesce(sum(case when a.d28 = 0 then 100 else round(a.d28/12) end), 0) as bigint) as case_in_sum_d28_0 from alltypes_with_nulls_v a diff --git a/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/data/with_exprs_d28_group_by_1_cols.sql b/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/data/with_exprs_d28_group_by_1_cols.sql index 67eef6e46..d96d6be96 100644 --- a/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/data/with_exprs_d28_group_by_1_cols.sql +++ b/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/data/with_exprs_d28_group_by_1_cols.sql @@ -10,7 +10,7 @@ select --sum(case when a.d28 = 0 then 100 else round(a.d28/12) end) as case_in_sum_d28, cast(sum(case when a.d28 = 0 then 100 else round(a.d28/12) end) as bigint) as case_in_sum_d28, --coalesce(sum(case when a.d28 = 0 then 100 else round(a.d28/12) end), 0) as case_in_sum_d28 - cast(coalesce(sum(case when a.d28 = 0 then 100 else round(a.d28/12) end), 0) as bigint) as case_in_sum_d28 + cast(coalesce(sum(case when a.d28 = 0 then 100 else round(a.d28/12) end), 0) as bigint) as case_in_sum_d28_0 from alltypes_with_nulls_v a diff --git a/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/data/with_exprs_d28_group_by_22_cols.sql b/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/data/with_exprs_d28_group_by_22_cols.sql index e0ae89754..ca46ab59e 100644 --- a/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/data/with_exprs_d28_group_by_22_cols.sql +++ b/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/data/with_exprs_d28_group_by_22_cols.sql @@ -10,7 +10,7 @@ select --sum(case when a.d28 = 0 then 100 else round(a.d28/12) end) as case_in_sum_d28, cast(sum(case when a.d28 = 0 then 100 else round(a.d28/12) end) as bigint) as case_in_sum_d28, --coalesce(sum(case when a.d28 = 0 then 100 else round(a.d28/12) end), 0) as case_in_sum_d28 - cast(coalesce(sum(case when a.d28 = 0 then 100 else round(a.d28/12) end), 0) as bigint) as case_in_sum_d28 + cast(coalesce(sum(case when a.d28 = 0 then 100 else round(a.d28/12) end), 0) as bigint) as case_in_sum_d28_0 from alltypes_with_nulls_v a diff --git a/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/data/with_exprs_d28_group_by_25_cols.sql b/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/data/with_exprs_d28_group_by_25_cols.sql index e3924c8e4..1a5fe9a73 100644 --- a/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/data/with_exprs_d28_group_by_25_cols.sql +++ b/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/data/with_exprs_d28_group_by_25_cols.sql @@ -10,7 +10,7 @@ select --sum(case when a.d28 = 0 then 100 else round(a.d28/12) end) as case_in_sum_d28, cast(sum(case when a.d28 = 0 then 100 else round(a.d28/12) end) as bigint) as case_in_sum_d28, --coalesce(sum(case when a.d28 = 0 then 100 else round(a.d28/12) end), 0) as case_in_sum_d28 - cast(coalesce(sum(case when a.d28 = 0 then 100 else round(a.d28/12) end), 0) as bigint) as case_in_sum_d28 + cast(coalesce(sum(case when a.d28 = 0 then 100 else round(a.d28/12) end), 0) as bigint) as case_in_sum_d28_0 from alltypes_with_nulls_v a diff --git a/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/data/with_exprs_d28_group_by_28_cols.sql b/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/data/with_exprs_d28_group_by_28_cols.sql index 338014c96..98ebe42b1 100644 --- a/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/data/with_exprs_d28_group_by_28_cols.sql +++ b/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/data/with_exprs_d28_group_by_28_cols.sql @@ -10,7 +10,7 @@ select --sum(case when a.d28 = 0 then 100 else round(a.d28/12) end) as case_in_sum_d28, cast(sum(case when a.d28 = 0 then 100 else round(a.d28/12) end) as bigint) as case_in_sum_d28, --coalesce(sum(case when a.d28 = 0 then 100 else round(a.d28/12) end), 0) as case_in_sum_d28 - cast(coalesce(sum(case when a.d28 = 0 then 100 else round(a.d28/12) end), 0) as bigint) as case_in_sum_d28 + cast(coalesce(sum(case when a.d28 = 0 then 100 else round(a.d28/12) end), 0) as bigint) as case_in_sum_d28_0 from alltypes_with_nulls_v a diff --git a/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/data/with_exprs_d28_group_by_31_cols.sql b/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/data/with_exprs_d28_group_by_31_cols.sql index 16dc9b015..3309cfb27 100644 --- a/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/data/with_exprs_d28_group_by_31_cols.sql +++ b/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/data/with_exprs_d28_group_by_31_cols.sql @@ -10,7 +10,7 @@ select --sum(case when a.d28 = 0 then 100 else round(a.d28/12) end) as case_in_sum_d28, cast(sum(case when a.d28 = 0 then 100 else round(a.d28/12) end) as bigint) as case_in_sum_d28, --coalesce(sum(case when a.d28 = 0 then 100 else round(a.d28/12) end), 0) as case_in_sum_d28 - cast(coalesce(sum(case when a.d28 = 0 then 100 else round(a.d28/12) end), 0) as bigint) as case_in_sum_d28 + cast(coalesce(sum(case when a.d28 = 0 then 100 else round(a.d28/12) end), 0) as bigint) as case_in_sum_d28_0 from alltypes_with_nulls_v a diff --git a/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/data/with_exprs_d28_group_by_4_cols.sql b/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/data/with_exprs_d28_group_by_4_cols.sql index 4f9a8bad2..53afc5dd0 100644 --- a/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/data/with_exprs_d28_group_by_4_cols.sql +++ b/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/data/with_exprs_d28_group_by_4_cols.sql @@ -10,7 +10,7 @@ select --sum(case when a.d28 = 0 then 100 else round(a.d28/12) end) as case_in_sum_d28, cast(sum(case when a.d28 = 0 then 100 else round(a.d28/12) end) as bigint) as case_in_sum_d28, --coalesce(sum(case when a.d28 = 0 then 100 else round(a.d28/12) end), 0) as case_in_sum_d28 - cast(coalesce(sum(case when a.d28 = 0 then 100 else round(a.d28/12) end), 0) as bigint) as case_in_sum_d28 + cast(coalesce(sum(case when a.d28 = 0 then 100 else round(a.d28/12) end), 0) as bigint) as case_in_sum_d28_0 from alltypes_with_nulls_v a diff --git a/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/data/with_exprs_d28_group_by_7_cols.sql b/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/data/with_exprs_d28_group_by_7_cols.sql index 613415357..f82ec4ab0 100644 --- a/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/data/with_exprs_d28_group_by_7_cols.sql +++ b/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/data/with_exprs_d28_group_by_7_cols.sql @@ -10,7 +10,7 @@ select --sum(case when a.d28 = 0 then 100 else round(a.d28/12) end) as case_in_sum_d28, cast(sum(case when a.d28 = 0 then 100 else round(a.d28/12) end) as bigint) as case_in_sum_d28, --coalesce(sum(case when a.d28 = 0 then 100 else round(a.d28/12) end), 0) as case_in_sum_d28 - cast(coalesce(sum(case when a.d28 = 0 then 100 else round(a.d28/12) end), 0) as bigint) as case_in_sum_d28 + cast(coalesce(sum(case when a.d28 = 0 then 100 else round(a.d28/12) end), 0) as bigint) as case_in_sum_d28_0 from alltypes_with_nulls_v a diff --git a/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/data/with_exprs_d38_group_by_10_cols.sql b/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/data/with_exprs_d38_group_by_10_cols.sql index 0e2b5c021..531b483f7 100644 --- a/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/data/with_exprs_d38_group_by_10_cols.sql +++ b/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/data/with_exprs_d38_group_by_10_cols.sql @@ -10,7 +10,7 @@ select --sum(case when a.d38 = 0 then 100 else round(a.d38/12) end) as case_in_sum_d38, cast(sum(case when a.d38 = 0 then 100 else round(a.d38/12) end) as bigint) as case_in_sum_d38, --coalesce(sum(case when a.d38 = 0 then 100 else round(a.d38/12) end), 0) as case_in_sum_d38 - cast(coalesce(sum(case when a.d38 = 0 then 100 else round(a.d38/12) end), 0) as bigint) as case_in_sum_d38 + cast(coalesce(sum(case when a.d38 = 0 then 100 else round(a.d38/12) end), 0) as bigint) as case_in_sum_d38_0 from alltypes_with_nulls_v a diff --git a/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/data/with_exprs_d38_group_by_13_cols.sql b/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/data/with_exprs_d38_group_by_13_cols.sql index e467c5dab..aa2fb9025 100644 --- a/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/data/with_exprs_d38_group_by_13_cols.sql +++ b/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/data/with_exprs_d38_group_by_13_cols.sql @@ -10,7 +10,7 @@ select --sum(case when a.d38 = 0 then 100 else round(a.d38/12) end) as case_in_sum_d38, cast(sum(case when a.d38 = 0 then 100 else round(a.d38/12) end) as bigint) as case_in_sum_d38, --coalesce(sum(case when a.d38 = 0 then 100 else round(a.d38/12) end), 0) as case_in_sum_d38 - cast(coalesce(sum(case when a.d38 = 0 then 100 else round(a.d38/12) end), 0) as bigint) as case_in_sum_d38 + cast(coalesce(sum(case when a.d38 = 0 then 100 else round(a.d38/12) end), 0) as bigint) as case_in_sum_d38_0 from alltypes_with_nulls_v a diff --git a/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/data/with_exprs_d38_group_by_16_cols.sql b/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/data/with_exprs_d38_group_by_16_cols.sql index 054cc1f3b..fba25eb74 100644 --- a/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/data/with_exprs_d38_group_by_16_cols.sql +++ b/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/data/with_exprs_d38_group_by_16_cols.sql @@ -10,7 +10,7 @@ select --sum(case when a.d38 = 0 then 100 else round(a.d38/12) end) as case_in_sum_d38, cast(sum(case when a.d38 = 0 then 100 else round(a.d38/12) end) as bigint) as case_in_sum_d38, --coalesce(sum(case when a.d38 = 0 then 100 else round(a.d38/12) end), 0) as case_in_sum_d38 - cast(coalesce(sum(case when a.d38 = 0 then 100 else round(a.d38/12) end), 0) as bigint) as case_in_sum_d38 + cast(coalesce(sum(case when a.d38 = 0 then 100 else round(a.d38/12) end), 0) as bigint) as case_in_sum_d38_0 from alltypes_with_nulls_v a diff --git a/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/data/with_exprs_d38_group_by_19_cols.sql b/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/data/with_exprs_d38_group_by_19_cols.sql index 02ee6e1bd..48ae630b7 100644 --- a/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/data/with_exprs_d38_group_by_19_cols.sql +++ b/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/data/with_exprs_d38_group_by_19_cols.sql @@ -10,7 +10,7 @@ select --sum(case when a.d38 = 0 then 100 else round(a.d38/12) end) as case_in_sum_d38, cast(sum(case when a.d38 = 0 then 100 else round(a.d38/12) end) as bigint) as case_in_sum_d38, --coalesce(sum(case when a.d38 = 0 then 100 else round(a.d38/12) end), 0) as case_in_sum_d38 - cast(coalesce(sum(case when a.d38 = 0 then 100 else round(a.d38/12) end), 0) as bigint) as case_in_sum_d38 + cast(coalesce(sum(case when a.d38 = 0 then 100 else round(a.d38/12) end), 0) as bigint) as case_in_sum_d38_0 from alltypes_with_nulls_v a diff --git a/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/data/with_exprs_d38_group_by_1_cols.sql b/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/data/with_exprs_d38_group_by_1_cols.sql index 9ee2c8ddf..15b53bc17 100644 --- a/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/data/with_exprs_d38_group_by_1_cols.sql +++ b/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/data/with_exprs_d38_group_by_1_cols.sql @@ -10,7 +10,7 @@ select --sum(case when a.d38 = 0 then 100 else round(a.d38/12) end) as case_in_sum_d38, cast(sum(case when a.d38 = 0 then 100 else round(a.d38/12) end) as bigint) as case_in_sum_d38, --coalesce(sum(case when a.d38 = 0 then 100 else round(a.d38/12) end), 0) as case_in_sum_d38 - cast(coalesce(sum(case when a.d38 = 0 then 100 else round(a.d38/12) end), 0) as bigint) as case_in_sum_d38 + cast(coalesce(sum(case when a.d38 = 0 then 100 else round(a.d38/12) end), 0) as bigint) as case_in_sum_d38_0 from alltypes_with_nulls_v a diff --git a/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/data/with_exprs_d38_group_by_22_cols.sql b/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/data/with_exprs_d38_group_by_22_cols.sql index d6e8b9a41..94ec01dd6 100644 --- a/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/data/with_exprs_d38_group_by_22_cols.sql +++ b/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/data/with_exprs_d38_group_by_22_cols.sql @@ -10,7 +10,7 @@ select --sum(case when a.d38 = 0 then 100 else round(a.d38/12) end) as case_in_sum_d38, cast(sum(case when a.d38 = 0 then 100 else round(a.d38/12) end) as bigint) as case_in_sum_d38, --coalesce(sum(case when a.d38 = 0 then 100 else round(a.d38/12) end), 0) as case_in_sum_d38 - cast(coalesce(sum(case when a.d38 = 0 then 100 else round(a.d38/12) end), 0) as bigint) as case_in_sum_d38 + cast(coalesce(sum(case when a.d38 = 0 then 100 else round(a.d38/12) end), 0) as bigint) as case_in_sum_d38_0 from alltypes_with_nulls_v a diff --git a/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/data/with_exprs_d38_group_by_25_cols.sql b/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/data/with_exprs_d38_group_by_25_cols.sql index 07b25129a..be0abbaea 100644 --- a/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/data/with_exprs_d38_group_by_25_cols.sql +++ b/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/data/with_exprs_d38_group_by_25_cols.sql @@ -10,7 +10,7 @@ select --sum(case when a.d38 = 0 then 100 else round(a.d38/12) end) as case_in_sum_d38, cast(sum(case when a.d38 = 0 then 100 else round(a.d38/12) end) as bigint) as case_in_sum_d38, --coalesce(sum(case when a.d38 = 0 then 100 else round(a.d38/12) end), 0) as case_in_sum_d38 - cast(coalesce(sum(case when a.d38 = 0 then 100 else round(a.d38/12) end), 0) as bigint) as case_in_sum_d38 + cast(coalesce(sum(case when a.d38 = 0 then 100 else round(a.d38/12) end), 0) as bigint) as case_in_sum_d38_0 from alltypes_with_nulls_v a diff --git a/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/data/with_exprs_d38_group_by_28_cols.sql b/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/data/with_exprs_d38_group_by_28_cols.sql index 6d1cbdb8a..21bf8017b 100644 --- a/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/data/with_exprs_d38_group_by_28_cols.sql +++ b/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/data/with_exprs_d38_group_by_28_cols.sql @@ -10,7 +10,7 @@ select --sum(case when a.d38 = 0 then 100 else round(a.d38/12) end) as case_in_sum_d38, cast(sum(case when a.d38 = 0 then 100 else round(a.d38/12) end) as bigint) as case_in_sum_d38, --coalesce(sum(case when a.d38 = 0 then 100 else round(a.d38/12) end), 0) as case_in_sum_d38 - cast(coalesce(sum(case when a.d38 = 0 then 100 else round(a.d38/12) end), 0) as bigint) as case_in_sum_d38 + cast(coalesce(sum(case when a.d38 = 0 then 100 else round(a.d38/12) end), 0) as bigint) as case_in_sum_d38_0 from alltypes_with_nulls_v a diff --git a/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/data/with_exprs_d38_group_by_31_cols.sql b/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/data/with_exprs_d38_group_by_31_cols.sql index 32b1a7b9e..4a31d7fe6 100644 --- a/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/data/with_exprs_d38_group_by_31_cols.sql +++ b/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/data/with_exprs_d38_group_by_31_cols.sql @@ -10,7 +10,7 @@ select --sum(case when a.d38 = 0 then 100 else round(a.d38/12) end) as case_in_sum_d38, cast(sum(case when a.d38 = 0 then 100 else round(a.d38/12) end) as bigint) as case_in_sum_d38, --coalesce(sum(case when a.d38 = 0 then 100 else round(a.d38/12) end), 0) as case_in_sum_d38 - cast(coalesce(sum(case when a.d38 = 0 then 100 else round(a.d38/12) end), 0) as bigint) as case_in_sum_d38 + cast(coalesce(sum(case when a.d38 = 0 then 100 else round(a.d38/12) end), 0) as bigint) as case_in_sum_d38_0 from alltypes_with_nulls_v a diff --git a/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/data/with_exprs_d38_group_by_4_cols.sql b/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/data/with_exprs_d38_group_by_4_cols.sql index 0760df125..48387d373 100644 --- a/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/data/with_exprs_d38_group_by_4_cols.sql +++ b/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/data/with_exprs_d38_group_by_4_cols.sql @@ -10,7 +10,7 @@ select --sum(case when a.d38 = 0 then 100 else round(a.d38/12) end) as case_in_sum_d38, cast(sum(case when a.d38 = 0 then 100 else round(a.d38/12) end) as bigint) as case_in_sum_d38, --coalesce(sum(case when a.d38 = 0 then 100 else round(a.d38/12) end), 0) as case_in_sum_d38 - cast(coalesce(sum(case when a.d38 = 0 then 100 else round(a.d38/12) end), 0) as bigint) as case_in_sum_d38 + cast(coalesce(sum(case when a.d38 = 0 then 100 else round(a.d38/12) end), 0) as bigint) as case_in_sum_d38_0 from alltypes_with_nulls_v a diff --git a/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/data/with_exprs_d38_group_by_7_cols.sql b/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/data/with_exprs_d38_group_by_7_cols.sql index e08a102c0..bdf64edc3 100644 --- a/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/data/with_exprs_d38_group_by_7_cols.sql +++ b/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/data/with_exprs_d38_group_by_7_cols.sql @@ -10,7 +10,7 @@ select --sum(case when a.d38 = 0 then 100 else round(a.d38/12) end) as case_in_sum_d38, cast(sum(case when a.d38 = 0 then 100 else round(a.d38/12) end) as bigint) as case_in_sum_d38, --coalesce(sum(case when a.d38 = 0 then 100 else round(a.d38/12) end), 0) as case_in_sum_d38 - cast(coalesce(sum(case when a.d38 = 0 then 100 else round(a.d38/12) end), 0) as bigint) as case_in_sum_d38 + cast(coalesce(sum(case when a.d38 = 0 then 100 else round(a.d38/12) end), 0) as bigint) as case_in_sum_d38_0 from alltypes_with_nulls_v a diff --git a/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/data/with_exprs_d9_group_by_10_cols.sql b/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/data/with_exprs_d9_group_by_10_cols.sql index ccc3ebeed..07c22dd50 100644 --- a/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/data/with_exprs_d9_group_by_10_cols.sql +++ b/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/data/with_exprs_d9_group_by_10_cols.sql @@ -10,7 +10,7 @@ select --sum(case when a.d9 = 0 then 100 else round(a.d9/12) end) as case_in_sum_d9, cast(sum(case when a.d9 = 0 then 100 else round(a.d9/12) end) as bigint) as case_in_sum_d9, --coalesce(sum(case when a.d9 = 0 then 100 else round(a.d9/12) end), 0) as case_in_sum_d9 - cast(coalesce(sum(case when a.d9 = 0 then 100 else round(a.d9/12) end), 0) as bigint) as case_in_sum_d9 + cast(coalesce(sum(case when a.d9 = 0 then 100 else round(a.d9/12) end), 0) as bigint) as case_in_sum_d9_0 from alltypes_with_nulls_v a diff --git a/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/data/with_exprs_d9_group_by_13_cols.sql b/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/data/with_exprs_d9_group_by_13_cols.sql index 0518491bc..605a6d8a6 100644 --- a/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/data/with_exprs_d9_group_by_13_cols.sql +++ b/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/data/with_exprs_d9_group_by_13_cols.sql @@ -10,7 +10,7 @@ select --sum(case when a.d9 = 0 then 100 else round(a.d9/12) end) as case_in_sum_d9, cast(sum(case when a.d9 = 0 then 100 else round(a.d9/12) end) as bigint) as case_in_sum_d9, --coalesce(sum(case when a.d9 = 0 then 100 else round(a.d9/12) end), 0) as case_in_sum_d9 - cast(coalesce(sum(case when a.d9 = 0 then 100 else round(a.d9/12) end), 0) as bigint) as case_in_sum_d9 + cast(coalesce(sum(case when a.d9 = 0 then 100 else round(a.d9/12) end), 0) as bigint) as case_in_sum_d9_0 from alltypes_with_nulls_v a diff --git a/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/data/with_exprs_d9_group_by_16_cols.sql b/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/data/with_exprs_d9_group_by_16_cols.sql index 940a58f25..978d59d9e 100644 --- a/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/data/with_exprs_d9_group_by_16_cols.sql +++ b/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/data/with_exprs_d9_group_by_16_cols.sql @@ -10,7 +10,7 @@ select --sum(case when a.d9 = 0 then 100 else round(a.d9/12) end) as case_in_sum_d9, cast(sum(case when a.d9 = 0 then 100 else round(a.d9/12) end) as bigint) as case_in_sum_d9, --coalesce(sum(case when a.d9 = 0 then 100 else round(a.d9/12) end), 0) as case_in_sum_d9 - cast(coalesce(sum(case when a.d9 = 0 then 100 else round(a.d9/12) end), 0) as bigint) as case_in_sum_d9 + cast(coalesce(sum(case when a.d9 = 0 then 100 else round(a.d9/12) end), 0) as bigint) as case_in_sum_d9_0 from alltypes_with_nulls_v a diff --git a/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/data/with_exprs_d9_group_by_19_cols.sql b/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/data/with_exprs_d9_group_by_19_cols.sql index c9175e2e5..ad7bdaa83 100644 --- a/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/data/with_exprs_d9_group_by_19_cols.sql +++ b/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/data/with_exprs_d9_group_by_19_cols.sql @@ -10,7 +10,7 @@ select --sum(case when a.d9 = 0 then 100 else round(a.d9/12) end) as case_in_sum_d9, cast(sum(case when a.d9 = 0 then 100 else round(a.d9/12) end) as bigint) as case_in_sum_d9, --coalesce(sum(case when a.d9 = 0 then 100 else round(a.d9/12) end), 0) as case_in_sum_d9 - cast(coalesce(sum(case when a.d9 = 0 then 100 else round(a.d9/12) end), 0) as bigint) as case_in_sum_d9 + cast(coalesce(sum(case when a.d9 = 0 then 100 else round(a.d9/12) end), 0) as bigint) as case_in_sum_d9_0 from alltypes_with_nulls_v a diff --git a/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/data/with_exprs_d9_group_by_1_cols.sql b/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/data/with_exprs_d9_group_by_1_cols.sql index 0ca5f47c6..1716c49dd 100644 --- a/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/data/with_exprs_d9_group_by_1_cols.sql +++ b/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/data/with_exprs_d9_group_by_1_cols.sql @@ -10,7 +10,7 @@ select --sum(case when a.d9 = 0 then 100 else round(a.d9/12) end) as case_in_sum_d9, cast(sum(case when a.d9 = 0 then 100 else round(a.d9/12) end) as bigint) as case_in_sum_d9, --coalesce(sum(case when a.d9 = 0 then 100 else round(a.d9/12) end), 0) as case_in_sum_d9 - cast(coalesce(sum(case when a.d9 = 0 then 100 else round(a.d9/12) end), 0) as bigint) as case_in_sum_d9 + cast(coalesce(sum(case when a.d9 = 0 then 100 else round(a.d9/12) end), 0) as bigint) as case_in_sum_d9_0 from alltypes_with_nulls_v a diff --git a/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/data/with_exprs_d9_group_by_22_cols.sql b/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/data/with_exprs_d9_group_by_22_cols.sql index 8f064e0e2..6065c8c52 100644 --- a/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/data/with_exprs_d9_group_by_22_cols.sql +++ b/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/data/with_exprs_d9_group_by_22_cols.sql @@ -10,7 +10,7 @@ select --sum(case when a.d9 = 0 then 100 else round(a.d9/12) end) as case_in_sum_d9, cast(sum(case when a.d9 = 0 then 100 else round(a.d9/12) end) as bigint) as case_in_sum_d9, --coalesce(sum(case when a.d9 = 0 then 100 else round(a.d9/12) end), 0) as case_in_sum_d9 - cast(coalesce(sum(case when a.d9 = 0 then 100 else round(a.d9/12) end), 0) as bigint) as case_in_sum_d9 + cast(coalesce(sum(case when a.d9 = 0 then 100 else round(a.d9/12) end), 0) as bigint) as case_in_sum_d9_0 from alltypes_with_nulls_v a diff --git a/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/data/with_exprs_d9_group_by_25_cols.sql b/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/data/with_exprs_d9_group_by_25_cols.sql index f94683b18..50c0682ee 100644 --- a/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/data/with_exprs_d9_group_by_25_cols.sql +++ b/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/data/with_exprs_d9_group_by_25_cols.sql @@ -10,7 +10,7 @@ select --sum(case when a.d9 = 0 then 100 else round(a.d9/12) end) as case_in_sum_d9, cast(sum(case when a.d9 = 0 then 100 else round(a.d9/12) end) as bigint) as case_in_sum_d9, --coalesce(sum(case when a.d9 = 0 then 100 else round(a.d9/12) end), 0) as case_in_sum_d9 - cast(coalesce(sum(case when a.d9 = 0 then 100 else round(a.d9/12) end), 0) as bigint) as case_in_sum_d9 + cast(coalesce(sum(case when a.d9 = 0 then 100 else round(a.d9/12) end), 0) as bigint) as case_in_sum_d9_0 from alltypes_with_nulls_v a diff --git a/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/data/with_exprs_d9_group_by_28_cols.sql b/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/data/with_exprs_d9_group_by_28_cols.sql index 04fb6b754..717c256d0 100644 --- a/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/data/with_exprs_d9_group_by_28_cols.sql +++ b/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/data/with_exprs_d9_group_by_28_cols.sql @@ -10,7 +10,7 @@ select --sum(case when a.d9 = 0 then 100 else round(a.d9/12) end) as case_in_sum_d9, cast(sum(case when a.d9 = 0 then 100 else round(a.d9/12) end) as bigint) as case_in_sum_d9, --coalesce(sum(case when a.d9 = 0 then 100 else round(a.d9/12) end), 0) as case_in_sum_d9 - cast(coalesce(sum(case when a.d9 = 0 then 100 else round(a.d9/12) end), 0) as bigint) as case_in_sum_d9 + cast(coalesce(sum(case when a.d9 = 0 then 100 else round(a.d9/12) end), 0) as bigint) as case_in_sum_d9_0 from alltypes_with_nulls_v a diff --git a/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/data/with_exprs_d9_group_by_31_cols.sql b/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/data/with_exprs_d9_group_by_31_cols.sql index 90a50d170..52ef720a2 100644 --- a/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/data/with_exprs_d9_group_by_31_cols.sql +++ b/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/data/with_exprs_d9_group_by_31_cols.sql @@ -10,7 +10,7 @@ select --sum(case when a.d9 = 0 then 100 else round(a.d9/12) end) as case_in_sum_d9, cast(sum(case when a.d9 = 0 then 100 else round(a.d9/12) end) as bigint) as case_in_sum_d9, --coalesce(sum(case when a.d9 = 0 then 100 else round(a.d9/12) end), 0) as case_in_sum_d9 - cast(coalesce(sum(case when a.d9 = 0 then 100 else round(a.d9/12) end), 0) as bigint) as case_in_sum_d9 + cast(coalesce(sum(case when a.d9 = 0 then 100 else round(a.d9/12) end), 0) as bigint) as case_in_sum_d9_0 from alltypes_with_nulls_v a diff --git a/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/data/with_exprs_d9_group_by_4_cols.sql b/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/data/with_exprs_d9_group_by_4_cols.sql index 8b57adedd..54e2092de 100644 --- a/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/data/with_exprs_d9_group_by_4_cols.sql +++ b/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/data/with_exprs_d9_group_by_4_cols.sql @@ -10,7 +10,7 @@ select --sum(case when a.d9 = 0 then 100 else round(a.d9/12) end) as case_in_sum_d9, cast(sum(case when a.d9 = 0 then 100 else round(a.d9/12) end) as bigint) as case_in_sum_d9, --coalesce(sum(case when a.d9 = 0 then 100 else round(a.d9/12) end), 0) as case_in_sum_d9 - cast(coalesce(sum(case when a.d9 = 0 then 100 else round(a.d9/12) end), 0) as bigint) as case_in_sum_d9 + cast(coalesce(sum(case when a.d9 = 0 then 100 else round(a.d9/12) end), 0) as bigint) as case_in_sum_d9_0 from alltypes_with_nulls_v a diff --git a/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/data/with_exprs_d9_group_by_7_cols.sql b/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/data/with_exprs_d9_group_by_7_cols.sql index 1e12647c9..7277b0c14 100644 --- a/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/data/with_exprs_d9_group_by_7_cols.sql +++ b/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/data/with_exprs_d9_group_by_7_cols.sql @@ -10,7 +10,7 @@ select --sum(case when a.d9 = 0 then 100 else round(a.d9/12) end) as case_in_sum_d9, cast(sum(case when a.d9 = 0 then 100 else round(a.d9/12) end) as bigint) as case_in_sum_d9, --coalesce(sum(case when a.d9 = 0 then 100 else round(a.d9/12) end), 0) as case_in_sum_d9 - cast(coalesce(sum(case when a.d9 = 0 then 100 else round(a.d9/12) end), 0) as bigint) as case_in_sum_d9 + cast(coalesce(sum(case when a.d9 = 0 then 100 else round(a.d9/12) end), 0) as bigint) as case_in_sum_d9_0 from alltypes_with_nulls_v a diff --git a/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/plan/with_exprs_d18_group_by_10_cols.sql b/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/plan/with_exprs_d18_group_by_10_cols.sql index 139a8b175..f5282c925 100644 --- a/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/plan/with_exprs_d18_group_by_10_cols.sql +++ b/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/plan/with_exprs_d18_group_by_10_cols.sql @@ -11,7 +11,7 @@ select --sum(case when a.d18 = 0 then 100 else round(a.d18/12) end) as case_in_sum_d18, cast(sum(case when a.d18 = 0 then 100 else round(a.d18/12) end) as bigint) as case_in_sum_d18, --coalesce(sum(case when a.d18 = 0 then 100 else round(a.d18/12) end), 0) as case_in_sum_d18 - cast(coalesce(sum(case when a.d18 = 0 then 100 else round(a.d18/12) end), 0) as bigint) as case_in_sum_d18 + cast(coalesce(sum(case when a.d18 = 0 then 100 else round(a.d18/12) end), 0) as bigint) as case_in_sum_d18_0 from alltypes_with_nulls_v a diff --git a/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/plan/with_exprs_d18_group_by_13_cols.sql b/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/plan/with_exprs_d18_group_by_13_cols.sql index 2d884ac4f..c51502e9c 100644 --- a/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/plan/with_exprs_d18_group_by_13_cols.sql +++ b/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/plan/with_exprs_d18_group_by_13_cols.sql @@ -11,7 +11,7 @@ select --sum(case when a.d18 = 0 then 100 else round(a.d18/12) end) as case_in_sum_d18, cast(sum(case when a.d18 = 0 then 100 else round(a.d18/12) end) as bigint) as case_in_sum_d18, --coalesce(sum(case when a.d18 = 0 then 100 else round(a.d18/12) end), 0) as case_in_sum_d18 - cast(coalesce(sum(case when a.d18 = 0 then 100 else round(a.d18/12) end), 0) as bigint) as case_in_sum_d18 + cast(coalesce(sum(case when a.d18 = 0 then 100 else round(a.d18/12) end), 0) as bigint) as case_in_sum_d18_0 from alltypes_with_nulls_v a diff --git a/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/plan/with_exprs_d18_group_by_16_cols.sql b/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/plan/with_exprs_d18_group_by_16_cols.sql index 4b2318c44..2eae8d029 100644 --- a/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/plan/with_exprs_d18_group_by_16_cols.sql +++ b/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/plan/with_exprs_d18_group_by_16_cols.sql @@ -11,7 +11,7 @@ select --sum(case when a.d18 = 0 then 100 else round(a.d18/12) end) as case_in_sum_d18, cast(sum(case when a.d18 = 0 then 100 else round(a.d18/12) end) as bigint) as case_in_sum_d18, --coalesce(sum(case when a.d18 = 0 then 100 else round(a.d18/12) end), 0) as case_in_sum_d18 - cast(coalesce(sum(case when a.d18 = 0 then 100 else round(a.d18/12) end), 0) as bigint) as case_in_sum_d18 + cast(coalesce(sum(case when a.d18 = 0 then 100 else round(a.d18/12) end), 0) as bigint) as case_in_sum_d18_0 from alltypes_with_nulls_v a diff --git a/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/plan/with_exprs_d18_group_by_19_cols.sql b/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/plan/with_exprs_d18_group_by_19_cols.sql index e967672cd..869280d27 100644 --- a/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/plan/with_exprs_d18_group_by_19_cols.sql +++ b/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/plan/with_exprs_d18_group_by_19_cols.sql @@ -11,7 +11,7 @@ select --sum(case when a.d18 = 0 then 100 else round(a.d18/12) end) as case_in_sum_d18, cast(sum(case when a.d18 = 0 then 100 else round(a.d18/12) end) as bigint) as case_in_sum_d18, --coalesce(sum(case when a.d18 = 0 then 100 else round(a.d18/12) end), 0) as case_in_sum_d18 - cast(coalesce(sum(case when a.d18 = 0 then 100 else round(a.d18/12) end), 0) as bigint) as case_in_sum_d18 + cast(coalesce(sum(case when a.d18 = 0 then 100 else round(a.d18/12) end), 0) as bigint) as case_in_sum_d18_0 from alltypes_with_nulls_v a diff --git a/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/plan/with_exprs_d18_group_by_1_cols.sql b/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/plan/with_exprs_d18_group_by_1_cols.sql index 993fbc280..c242455b0 100644 --- a/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/plan/with_exprs_d18_group_by_1_cols.sql +++ b/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/plan/with_exprs_d18_group_by_1_cols.sql @@ -11,7 +11,7 @@ select --sum(case when a.d18 = 0 then 100 else round(a.d18/12) end) as case_in_sum_d18, cast(sum(case when a.d18 = 0 then 100 else round(a.d18/12) end) as bigint) as case_in_sum_d18, --coalesce(sum(case when a.d18 = 0 then 100 else round(a.d18/12) end), 0) as case_in_sum_d18 - cast(coalesce(sum(case when a.d18 = 0 then 100 else round(a.d18/12) end), 0) as bigint) as case_in_sum_d18 + cast(coalesce(sum(case when a.d18 = 0 then 100 else round(a.d18/12) end), 0) as bigint) as case_in_sum_d18_0 from alltypes_with_nulls_v a diff --git a/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/plan/with_exprs_d18_group_by_22_cols.sql b/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/plan/with_exprs_d18_group_by_22_cols.sql index 2c32e4326..65d04349f 100644 --- a/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/plan/with_exprs_d18_group_by_22_cols.sql +++ b/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/plan/with_exprs_d18_group_by_22_cols.sql @@ -11,7 +11,7 @@ select --sum(case when a.d18 = 0 then 100 else round(a.d18/12) end) as case_in_sum_d18, cast(sum(case when a.d18 = 0 then 100 else round(a.d18/12) end) as bigint) as case_in_sum_d18, --coalesce(sum(case when a.d18 = 0 then 100 else round(a.d18/12) end), 0) as case_in_sum_d18 - cast(coalesce(sum(case when a.d18 = 0 then 100 else round(a.d18/12) end), 0) as bigint) as case_in_sum_d18 + cast(coalesce(sum(case when a.d18 = 0 then 100 else round(a.d18/12) end), 0) as bigint) as case_in_sum_d18_0 from alltypes_with_nulls_v a diff --git a/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/plan/with_exprs_d18_group_by_25_cols.sql b/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/plan/with_exprs_d18_group_by_25_cols.sql index 05ca5b3a5..bffe62236 100644 --- a/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/plan/with_exprs_d18_group_by_25_cols.sql +++ b/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/plan/with_exprs_d18_group_by_25_cols.sql @@ -11,7 +11,7 @@ select --sum(case when a.d18 = 0 then 100 else round(a.d18/12) end) as case_in_sum_d18, cast(sum(case when a.d18 = 0 then 100 else round(a.d18/12) end) as bigint) as case_in_sum_d18, --coalesce(sum(case when a.d18 = 0 then 100 else round(a.d18/12) end), 0) as case_in_sum_d18 - cast(coalesce(sum(case when a.d18 = 0 then 100 else round(a.d18/12) end), 0) as bigint) as case_in_sum_d18 + cast(coalesce(sum(case when a.d18 = 0 then 100 else round(a.d18/12) end), 0) as bigint) as case_in_sum_d18_0 from alltypes_with_nulls_v a diff --git a/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/plan/with_exprs_d18_group_by_28_cols.sql b/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/plan/with_exprs_d18_group_by_28_cols.sql index 8339e86f5..8d5d5aa52 100644 --- a/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/plan/with_exprs_d18_group_by_28_cols.sql +++ b/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/plan/with_exprs_d18_group_by_28_cols.sql @@ -11,7 +11,7 @@ select --sum(case when a.d18 = 0 then 100 else round(a.d18/12) end) as case_in_sum_d18, cast(sum(case when a.d18 = 0 then 100 else round(a.d18/12) end) as bigint) as case_in_sum_d18, --coalesce(sum(case when a.d18 = 0 then 100 else round(a.d18/12) end), 0) as case_in_sum_d18 - cast(coalesce(sum(case when a.d18 = 0 then 100 else round(a.d18/12) end), 0) as bigint) as case_in_sum_d18 + cast(coalesce(sum(case when a.d18 = 0 then 100 else round(a.d18/12) end), 0) as bigint) as case_in_sum_d18_0 from alltypes_with_nulls_v a diff --git a/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/plan/with_exprs_d18_group_by_31_cols.sql b/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/plan/with_exprs_d18_group_by_31_cols.sql index bc323dfa3..9f7a0d009 100644 --- a/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/plan/with_exprs_d18_group_by_31_cols.sql +++ b/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/plan/with_exprs_d18_group_by_31_cols.sql @@ -11,7 +11,7 @@ select --sum(case when a.d18 = 0 then 100 else round(a.d18/12) end) as case_in_sum_d18, cast(sum(case when a.d18 = 0 then 100 else round(a.d18/12) end) as bigint) as case_in_sum_d18, --coalesce(sum(case when a.d18 = 0 then 100 else round(a.d18/12) end), 0) as case_in_sum_d18 - cast(coalesce(sum(case when a.d18 = 0 then 100 else round(a.d18/12) end), 0) as bigint) as case_in_sum_d18 + cast(coalesce(sum(case when a.d18 = 0 then 100 else round(a.d18/12) end), 0) as bigint) as case_in_sum_d18_0 from alltypes_with_nulls_v a diff --git a/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/plan/with_exprs_d18_group_by_4_cols.sql b/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/plan/with_exprs_d18_group_by_4_cols.sql index a955fbbfe..39e987c51 100644 --- a/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/plan/with_exprs_d18_group_by_4_cols.sql +++ b/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/plan/with_exprs_d18_group_by_4_cols.sql @@ -11,7 +11,7 @@ select --sum(case when a.d18 = 0 then 100 else round(a.d18/12) end) as case_in_sum_d18, cast(sum(case when a.d18 = 0 then 100 else round(a.d18/12) end) as bigint) as case_in_sum_d18, --coalesce(sum(case when a.d18 = 0 then 100 else round(a.d18/12) end), 0) as case_in_sum_d18 - cast(coalesce(sum(case when a.d18 = 0 then 100 else round(a.d18/12) end), 0) as bigint) as case_in_sum_d18 + cast(coalesce(sum(case when a.d18 = 0 then 100 else round(a.d18/12) end), 0) as bigint) as case_in_sum_d18_0 from alltypes_with_nulls_v a diff --git a/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/plan/with_exprs_d18_group_by_7_cols.sql b/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/plan/with_exprs_d18_group_by_7_cols.sql index 660254692..030c9613e 100644 --- a/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/plan/with_exprs_d18_group_by_7_cols.sql +++ b/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/plan/with_exprs_d18_group_by_7_cols.sql @@ -11,7 +11,7 @@ select --sum(case when a.d18 = 0 then 100 else round(a.d18/12) end) as case_in_sum_d18, cast(sum(case when a.d18 = 0 then 100 else round(a.d18/12) end) as bigint) as case_in_sum_d18, --coalesce(sum(case when a.d18 = 0 then 100 else round(a.d18/12) end), 0) as case_in_sum_d18 - cast(coalesce(sum(case when a.d18 = 0 then 100 else round(a.d18/12) end), 0) as bigint) as case_in_sum_d18 + cast(coalesce(sum(case when a.d18 = 0 then 100 else round(a.d18/12) end), 0) as bigint) as case_in_sum_d18_0 from alltypes_with_nulls_v a diff --git a/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/plan/with_exprs_d28_group_by_10_cols.sql b/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/plan/with_exprs_d28_group_by_10_cols.sql index 1dd56b1a4..f06dc4f16 100644 --- a/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/plan/with_exprs_d28_group_by_10_cols.sql +++ b/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/plan/with_exprs_d28_group_by_10_cols.sql @@ -11,7 +11,7 @@ select --sum(case when a.d28 = 0 then 100 else round(a.d28/12) end) as case_in_sum_d28, cast(sum(case when a.d28 = 0 then 100 else round(a.d28/12) end) as bigint) as case_in_sum_d28, --coalesce(sum(case when a.d28 = 0 then 100 else round(a.d28/12) end), 0) as case_in_sum_d28 - cast(coalesce(sum(case when a.d28 = 0 then 100 else round(a.d28/12) end), 0) as bigint) as case_in_sum_d28 + cast(coalesce(sum(case when a.d28 = 0 then 100 else round(a.d28/12) end), 0) as bigint) as case_in_sum_d28_0 from alltypes_with_nulls_v a diff --git a/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/plan/with_exprs_d28_group_by_13_cols.sql b/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/plan/with_exprs_d28_group_by_13_cols.sql index 7f2dd6141..d9b6e98a9 100644 --- a/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/plan/with_exprs_d28_group_by_13_cols.sql +++ b/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/plan/with_exprs_d28_group_by_13_cols.sql @@ -11,7 +11,7 @@ select --sum(case when a.d28 = 0 then 100 else round(a.d28/12) end) as case_in_sum_d28, cast(sum(case when a.d28 = 0 then 100 else round(a.d28/12) end) as bigint) as case_in_sum_d28, --coalesce(sum(case when a.d28 = 0 then 100 else round(a.d28/12) end), 0) as case_in_sum_d28 - cast(coalesce(sum(case when a.d28 = 0 then 100 else round(a.d28/12) end), 0) as bigint) as case_in_sum_d28 + cast(coalesce(sum(case when a.d28 = 0 then 100 else round(a.d28/12) end), 0) as bigint) as case_in_sum_d28_0 from alltypes_with_nulls_v a diff --git a/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/plan/with_exprs_d28_group_by_16_cols.sql b/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/plan/with_exprs_d28_group_by_16_cols.sql index c2047388a..cbdb38345 100644 --- a/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/plan/with_exprs_d28_group_by_16_cols.sql +++ b/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/plan/with_exprs_d28_group_by_16_cols.sql @@ -11,7 +11,7 @@ select --sum(case when a.d28 = 0 then 100 else round(a.d28/12) end) as case_in_sum_d28, cast(sum(case when a.d28 = 0 then 100 else round(a.d28/12) end) as bigint) as case_in_sum_d28, --coalesce(sum(case when a.d28 = 0 then 100 else round(a.d28/12) end), 0) as case_in_sum_d28 - cast(coalesce(sum(case when a.d28 = 0 then 100 else round(a.d28/12) end), 0) as bigint) as case_in_sum_d28 + cast(coalesce(sum(case when a.d28 = 0 then 100 else round(a.d28/12) end), 0) as bigint) as case_in_sum_d28_0 from alltypes_with_nulls_v a diff --git a/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/plan/with_exprs_d28_group_by_19_cols.sql b/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/plan/with_exprs_d28_group_by_19_cols.sql index 656c30c0b..a6e974a66 100644 --- a/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/plan/with_exprs_d28_group_by_19_cols.sql +++ b/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/plan/with_exprs_d28_group_by_19_cols.sql @@ -11,7 +11,7 @@ select --sum(case when a.d28 = 0 then 100 else round(a.d28/12) end) as case_in_sum_d28, cast(sum(case when a.d28 = 0 then 100 else round(a.d28/12) end) as bigint) as case_in_sum_d28, --coalesce(sum(case when a.d28 = 0 then 100 else round(a.d28/12) end), 0) as case_in_sum_d28 - cast(coalesce(sum(case when a.d28 = 0 then 100 else round(a.d28/12) end), 0) as bigint) as case_in_sum_d28 + cast(coalesce(sum(case when a.d28 = 0 then 100 else round(a.d28/12) end), 0) as bigint) as case_in_sum_d28_0 from alltypes_with_nulls_v a diff --git a/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/plan/with_exprs_d28_group_by_1_cols.sql b/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/plan/with_exprs_d28_group_by_1_cols.sql index 2bca73a59..057c5f8f1 100644 --- a/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/plan/with_exprs_d28_group_by_1_cols.sql +++ b/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/plan/with_exprs_d28_group_by_1_cols.sql @@ -11,7 +11,7 @@ select --sum(case when a.d28 = 0 then 100 else round(a.d28/12) end) as case_in_sum_d28, cast(sum(case when a.d28 = 0 then 100 else round(a.d28/12) end) as bigint) as case_in_sum_d28, --coalesce(sum(case when a.d28 = 0 then 100 else round(a.d28/12) end), 0) as case_in_sum_d28 - cast(coalesce(sum(case when a.d28 = 0 then 100 else round(a.d28/12) end), 0) as bigint) as case_in_sum_d28 + cast(coalesce(sum(case when a.d28 = 0 then 100 else round(a.d28/12) end), 0) as bigint) as case_in_sum_d28_0 from alltypes_with_nulls_v a diff --git a/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/plan/with_exprs_d28_group_by_22_cols.sql b/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/plan/with_exprs_d28_group_by_22_cols.sql index dcef1e2b8..e25a237a2 100644 --- a/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/plan/with_exprs_d28_group_by_22_cols.sql +++ b/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/plan/with_exprs_d28_group_by_22_cols.sql @@ -11,7 +11,7 @@ select --sum(case when a.d28 = 0 then 100 else round(a.d28/12) end) as case_in_sum_d28, cast(sum(case when a.d28 = 0 then 100 else round(a.d28/12) end) as bigint) as case_in_sum_d28, --coalesce(sum(case when a.d28 = 0 then 100 else round(a.d28/12) end), 0) as case_in_sum_d28 - cast(coalesce(sum(case when a.d28 = 0 then 100 else round(a.d28/12) end), 0) as bigint) as case_in_sum_d28 + cast(coalesce(sum(case when a.d28 = 0 then 100 else round(a.d28/12) end), 0) as bigint) as case_in_sum_d28_0 from alltypes_with_nulls_v a diff --git a/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/plan/with_exprs_d28_group_by_25_cols.sql b/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/plan/with_exprs_d28_group_by_25_cols.sql index 97f29a6c2..16c16647c 100644 --- a/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/plan/with_exprs_d28_group_by_25_cols.sql +++ b/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/plan/with_exprs_d28_group_by_25_cols.sql @@ -11,7 +11,7 @@ select --sum(case when a.d28 = 0 then 100 else round(a.d28/12) end) as case_in_sum_d28, cast(sum(case when a.d28 = 0 then 100 else round(a.d28/12) end) as bigint) as case_in_sum_d28, --coalesce(sum(case when a.d28 = 0 then 100 else round(a.d28/12) end), 0) as case_in_sum_d28 - cast(coalesce(sum(case when a.d28 = 0 then 100 else round(a.d28/12) end), 0) as bigint) as case_in_sum_d28 + cast(coalesce(sum(case when a.d28 = 0 then 100 else round(a.d28/12) end), 0) as bigint) as case_in_sum_d28_0 from alltypes_with_nulls_v a diff --git a/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/plan/with_exprs_d28_group_by_28_cols.sql b/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/plan/with_exprs_d28_group_by_28_cols.sql index f81c3dc43..6a31b6bfe 100644 --- a/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/plan/with_exprs_d28_group_by_28_cols.sql +++ b/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/plan/with_exprs_d28_group_by_28_cols.sql @@ -11,7 +11,7 @@ select --sum(case when a.d28 = 0 then 100 else round(a.d28/12) end) as case_in_sum_d28, cast(sum(case when a.d28 = 0 then 100 else round(a.d28/12) end) as bigint) as case_in_sum_d28, --coalesce(sum(case when a.d28 = 0 then 100 else round(a.d28/12) end), 0) as case_in_sum_d28 - cast(coalesce(sum(case when a.d28 = 0 then 100 else round(a.d28/12) end), 0) as bigint) as case_in_sum_d28 + cast(coalesce(sum(case when a.d28 = 0 then 100 else round(a.d28/12) end), 0) as bigint) as case_in_sum_d28_0 from alltypes_with_nulls_v a diff --git a/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/plan/with_exprs_d28_group_by_31_cols.sql b/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/plan/with_exprs_d28_group_by_31_cols.sql index b3b452662..d8bb5e71c 100644 --- a/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/plan/with_exprs_d28_group_by_31_cols.sql +++ b/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/plan/with_exprs_d28_group_by_31_cols.sql @@ -11,7 +11,7 @@ select --sum(case when a.d28 = 0 then 100 else round(a.d28/12) end) as case_in_sum_d28, cast(sum(case when a.d28 = 0 then 100 else round(a.d28/12) end) as bigint) as case_in_sum_d28, --coalesce(sum(case when a.d28 = 0 then 100 else round(a.d28/12) end), 0) as case_in_sum_d28 - cast(coalesce(sum(case when a.d28 = 0 then 100 else round(a.d28/12) end), 0) as bigint) as case_in_sum_d28 + cast(coalesce(sum(case when a.d28 = 0 then 100 else round(a.d28/12) end), 0) as bigint) as case_in_sum_d28_0 from alltypes_with_nulls_v a diff --git a/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/plan/with_exprs_d28_group_by_4_cols.sql b/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/plan/with_exprs_d28_group_by_4_cols.sql index 842186d03..a10715880 100644 --- a/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/plan/with_exprs_d28_group_by_4_cols.sql +++ b/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/plan/with_exprs_d28_group_by_4_cols.sql @@ -11,7 +11,7 @@ select --sum(case when a.d28 = 0 then 100 else round(a.d28/12) end) as case_in_sum_d28, cast(sum(case when a.d28 = 0 then 100 else round(a.d28/12) end) as bigint) as case_in_sum_d28, --coalesce(sum(case when a.d28 = 0 then 100 else round(a.d28/12) end), 0) as case_in_sum_d28 - cast(coalesce(sum(case when a.d28 = 0 then 100 else round(a.d28/12) end), 0) as bigint) as case_in_sum_d28 + cast(coalesce(sum(case when a.d28 = 0 then 100 else round(a.d28/12) end), 0) as bigint) as case_in_sum_d28_0 from alltypes_with_nulls_v a diff --git a/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/plan/with_exprs_d28_group_by_7_cols.sql b/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/plan/with_exprs_d28_group_by_7_cols.sql index a274b172d..42b5609e8 100644 --- a/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/plan/with_exprs_d28_group_by_7_cols.sql +++ b/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/plan/with_exprs_d28_group_by_7_cols.sql @@ -11,7 +11,7 @@ select --sum(case when a.d28 = 0 then 100 else round(a.d28/12) end) as case_in_sum_d28, cast(sum(case when a.d28 = 0 then 100 else round(a.d28/12) end) as bigint) as case_in_sum_d28, --coalesce(sum(case when a.d28 = 0 then 100 else round(a.d28/12) end), 0) as case_in_sum_d28 - cast(coalesce(sum(case when a.d28 = 0 then 100 else round(a.d28/12) end), 0) as bigint) as case_in_sum_d28 + cast(coalesce(sum(case when a.d28 = 0 then 100 else round(a.d28/12) end), 0) as bigint) as case_in_sum_d28_0 from alltypes_with_nulls_v a diff --git a/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/plan/with_exprs_d38_group_by_10_cols.sql b/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/plan/with_exprs_d38_group_by_10_cols.sql index 5c9278444..077eb6267 100644 --- a/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/plan/with_exprs_d38_group_by_10_cols.sql +++ b/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/plan/with_exprs_d38_group_by_10_cols.sql @@ -11,7 +11,7 @@ select --sum(case when a.d38 = 0 then 100 else round(a.d38/12) end) as case_in_sum_d38, cast(sum(case when a.d38 = 0 then 100 else round(a.d38/12) end) as bigint) as case_in_sum_d38, --coalesce(sum(case when a.d38 = 0 then 100 else round(a.d38/12) end), 0) as case_in_sum_d38 - cast(coalesce(sum(case when a.d38 = 0 then 100 else round(a.d38/12) end), 0) as bigint) as case_in_sum_d38 + cast(coalesce(sum(case when a.d38 = 0 then 100 else round(a.d38/12) end), 0) as bigint) as case_in_sum_d38_0 from alltypes_with_nulls_v a diff --git a/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/plan/with_exprs_d38_group_by_13_cols.sql b/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/plan/with_exprs_d38_group_by_13_cols.sql index e27610679..f6d07f851 100644 --- a/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/plan/with_exprs_d38_group_by_13_cols.sql +++ b/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/plan/with_exprs_d38_group_by_13_cols.sql @@ -11,7 +11,7 @@ select --sum(case when a.d38 = 0 then 100 else round(a.d38/12) end) as case_in_sum_d38, cast(sum(case when a.d38 = 0 then 100 else round(a.d38/12) end) as bigint) as case_in_sum_d38, --coalesce(sum(case when a.d38 = 0 then 100 else round(a.d38/12) end), 0) as case_in_sum_d38 - cast(coalesce(sum(case when a.d38 = 0 then 100 else round(a.d38/12) end), 0) as bigint) as case_in_sum_d38 + cast(coalesce(sum(case when a.d38 = 0 then 100 else round(a.d38/12) end), 0) as bigint) as case_in_sum_d38_0 from alltypes_with_nulls_v a diff --git a/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/plan/with_exprs_d38_group_by_16_cols.sql b/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/plan/with_exprs_d38_group_by_16_cols.sql index b111a4cb1..18e71f778 100644 --- a/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/plan/with_exprs_d38_group_by_16_cols.sql +++ b/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/plan/with_exprs_d38_group_by_16_cols.sql @@ -11,7 +11,7 @@ select --sum(case when a.d38 = 0 then 100 else round(a.d38/12) end) as case_in_sum_d38, cast(sum(case when a.d38 = 0 then 100 else round(a.d38/12) end) as bigint) as case_in_sum_d38, --coalesce(sum(case when a.d38 = 0 then 100 else round(a.d38/12) end), 0) as case_in_sum_d38 - cast(coalesce(sum(case when a.d38 = 0 then 100 else round(a.d38/12) end), 0) as bigint) as case_in_sum_d38 + cast(coalesce(sum(case when a.d38 = 0 then 100 else round(a.d38/12) end), 0) as bigint) as case_in_sum_d38_0 from alltypes_with_nulls_v a diff --git a/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/plan/with_exprs_d38_group_by_19_cols.sql b/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/plan/with_exprs_d38_group_by_19_cols.sql index 2c971487a..90589b7d6 100644 --- a/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/plan/with_exprs_d38_group_by_19_cols.sql +++ b/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/plan/with_exprs_d38_group_by_19_cols.sql @@ -11,7 +11,7 @@ select --sum(case when a.d38 = 0 then 100 else round(a.d38/12) end) as case_in_sum_d38, cast(sum(case when a.d38 = 0 then 100 else round(a.d38/12) end) as bigint) as case_in_sum_d38, --coalesce(sum(case when a.d38 = 0 then 100 else round(a.d38/12) end), 0) as case_in_sum_d38 - cast(coalesce(sum(case when a.d38 = 0 then 100 else round(a.d38/12) end), 0) as bigint) as case_in_sum_d38 + cast(coalesce(sum(case when a.d38 = 0 then 100 else round(a.d38/12) end), 0) as bigint) as case_in_sum_d38_0 from alltypes_with_nulls_v a diff --git a/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/plan/with_exprs_d38_group_by_1_cols.sql b/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/plan/with_exprs_d38_group_by_1_cols.sql index b58803445..7b86de953 100644 --- a/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/plan/with_exprs_d38_group_by_1_cols.sql +++ b/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/plan/with_exprs_d38_group_by_1_cols.sql @@ -11,7 +11,7 @@ select --sum(case when a.d38 = 0 then 100 else round(a.d38/12) end) as case_in_sum_d38, cast(sum(case when a.d38 = 0 then 100 else round(a.d38/12) end) as bigint) as case_in_sum_d38, --coalesce(sum(case when a.d38 = 0 then 100 else round(a.d38/12) end), 0) as case_in_sum_d38 - cast(coalesce(sum(case when a.d38 = 0 then 100 else round(a.d38/12) end), 0) as bigint) as case_in_sum_d38 + cast(coalesce(sum(case when a.d38 = 0 then 100 else round(a.d38/12) end), 0) as bigint) as case_in_sum_d38_0 from alltypes_with_nulls_v a diff --git a/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/plan/with_exprs_d38_group_by_22_cols.sql b/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/plan/with_exprs_d38_group_by_22_cols.sql index 5e8bbe45e..bf44be6cb 100644 --- a/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/plan/with_exprs_d38_group_by_22_cols.sql +++ b/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/plan/with_exprs_d38_group_by_22_cols.sql @@ -11,7 +11,7 @@ select --sum(case when a.d38 = 0 then 100 else round(a.d38/12) end) as case_in_sum_d38, cast(sum(case when a.d38 = 0 then 100 else round(a.d38/12) end) as bigint) as case_in_sum_d38, --coalesce(sum(case when a.d38 = 0 then 100 else round(a.d38/12) end), 0) as case_in_sum_d38 - cast(coalesce(sum(case when a.d38 = 0 then 100 else round(a.d38/12) end), 0) as bigint) as case_in_sum_d38 + cast(coalesce(sum(case when a.d38 = 0 then 100 else round(a.d38/12) end), 0) as bigint) as case_in_sum_d38_0 from alltypes_with_nulls_v a diff --git a/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/plan/with_exprs_d38_group_by_25_cols.sql b/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/plan/with_exprs_d38_group_by_25_cols.sql index b4ab2af0d..9aa84a33e 100644 --- a/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/plan/with_exprs_d38_group_by_25_cols.sql +++ b/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/plan/with_exprs_d38_group_by_25_cols.sql @@ -11,7 +11,7 @@ select --sum(case when a.d38 = 0 then 100 else round(a.d38/12) end) as case_in_sum_d38, cast(sum(case when a.d38 = 0 then 100 else round(a.d38/12) end) as bigint) as case_in_sum_d38, --coalesce(sum(case when a.d38 = 0 then 100 else round(a.d38/12) end), 0) as case_in_sum_d38 - cast(coalesce(sum(case when a.d38 = 0 then 100 else round(a.d38/12) end), 0) as bigint) as case_in_sum_d38 + cast(coalesce(sum(case when a.d38 = 0 then 100 else round(a.d38/12) end), 0) as bigint) as case_in_sum_d38_0 from alltypes_with_nulls_v a diff --git a/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/plan/with_exprs_d38_group_by_28_cols.sql b/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/plan/with_exprs_d38_group_by_28_cols.sql index 71c97ed2a..c3a9c1b98 100644 --- a/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/plan/with_exprs_d38_group_by_28_cols.sql +++ b/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/plan/with_exprs_d38_group_by_28_cols.sql @@ -11,7 +11,7 @@ select --sum(case when a.d38 = 0 then 100 else round(a.d38/12) end) as case_in_sum_d38, cast(sum(case when a.d38 = 0 then 100 else round(a.d38/12) end) as bigint) as case_in_sum_d38, --coalesce(sum(case when a.d38 = 0 then 100 else round(a.d38/12) end), 0) as case_in_sum_d38 - cast(coalesce(sum(case when a.d38 = 0 then 100 else round(a.d38/12) end), 0) as bigint) as case_in_sum_d38 + cast(coalesce(sum(case when a.d38 = 0 then 100 else round(a.d38/12) end), 0) as bigint) as case_in_sum_d38_0 from alltypes_with_nulls_v a diff --git a/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/plan/with_exprs_d38_group_by_31_cols.sql b/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/plan/with_exprs_d38_group_by_31_cols.sql index e286c1f43..ff7b25d1e 100644 --- a/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/plan/with_exprs_d38_group_by_31_cols.sql +++ b/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/plan/with_exprs_d38_group_by_31_cols.sql @@ -11,7 +11,7 @@ select --sum(case when a.d38 = 0 then 100 else round(a.d38/12) end) as case_in_sum_d38, cast(sum(case when a.d38 = 0 then 100 else round(a.d38/12) end) as bigint) as case_in_sum_d38, --coalesce(sum(case when a.d38 = 0 then 100 else round(a.d38/12) end), 0) as case_in_sum_d38 - cast(coalesce(sum(case when a.d38 = 0 then 100 else round(a.d38/12) end), 0) as bigint) as case_in_sum_d38 + cast(coalesce(sum(case when a.d38 = 0 then 100 else round(a.d38/12) end), 0) as bigint) as case_in_sum_d38_0 from alltypes_with_nulls_v a diff --git a/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/plan/with_exprs_d38_group_by_4_cols.sql b/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/plan/with_exprs_d38_group_by_4_cols.sql index ea2a3b993..3e6cc6331 100644 --- a/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/plan/with_exprs_d38_group_by_4_cols.sql +++ b/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/plan/with_exprs_d38_group_by_4_cols.sql @@ -11,7 +11,7 @@ select --sum(case when a.d38 = 0 then 100 else round(a.d38/12) end) as case_in_sum_d38, cast(sum(case when a.d38 = 0 then 100 else round(a.d38/12) end) as bigint) as case_in_sum_d38, --coalesce(sum(case when a.d38 = 0 then 100 else round(a.d38/12) end), 0) as case_in_sum_d38 - cast(coalesce(sum(case when a.d38 = 0 then 100 else round(a.d38/12) end), 0) as bigint) as case_in_sum_d38 + cast(coalesce(sum(case when a.d38 = 0 then 100 else round(a.d38/12) end), 0) as bigint) as case_in_sum_d38_0 from alltypes_with_nulls_v a diff --git a/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/plan/with_exprs_d38_group_by_7_cols.sql b/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/plan/with_exprs_d38_group_by_7_cols.sql index d692edc0c..6bde98744 100644 --- a/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/plan/with_exprs_d38_group_by_7_cols.sql +++ b/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/plan/with_exprs_d38_group_by_7_cols.sql @@ -11,7 +11,7 @@ select --sum(case when a.d38 = 0 then 100 else round(a.d38/12) end) as case_in_sum_d38, cast(sum(case when a.d38 = 0 then 100 else round(a.d38/12) end) as bigint) as case_in_sum_d38, --coalesce(sum(case when a.d38 = 0 then 100 else round(a.d38/12) end), 0) as case_in_sum_d38 - cast(coalesce(sum(case when a.d38 = 0 then 100 else round(a.d38/12) end), 0) as bigint) as case_in_sum_d38 + cast(coalesce(sum(case when a.d38 = 0 then 100 else round(a.d38/12) end), 0) as bigint) as case_in_sum_d38_0 from alltypes_with_nulls_v a diff --git a/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/plan/with_exprs_d9_group_by_10_cols.sql b/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/plan/with_exprs_d9_group_by_10_cols.sql index 56c2feef1..8a29777eb 100644 --- a/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/plan/with_exprs_d9_group_by_10_cols.sql +++ b/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/plan/with_exprs_d9_group_by_10_cols.sql @@ -11,7 +11,7 @@ select --sum(case when a.d9 = 0 then 100 else round(a.d9/12) end) as case_in_sum_d9, cast(sum(case when a.d9 = 0 then 100 else round(a.d9/12) end) as bigint) as case_in_sum_d9, --coalesce(sum(case when a.d9 = 0 then 100 else round(a.d9/12) end), 0) as case_in_sum_d9 - cast(coalesce(sum(case when a.d9 = 0 then 100 else round(a.d9/12) end), 0) as bigint) as case_in_sum_d9 + cast(coalesce(sum(case when a.d9 = 0 then 100 else round(a.d9/12) end), 0) as bigint) as case_in_sum_d9_0 from alltypes_with_nulls_v a diff --git a/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/plan/with_exprs_d9_group_by_13_cols.sql b/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/plan/with_exprs_d9_group_by_13_cols.sql index 24b002024..5a32fb4e8 100644 --- a/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/plan/with_exprs_d9_group_by_13_cols.sql +++ b/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/plan/with_exprs_d9_group_by_13_cols.sql @@ -11,7 +11,7 @@ select --sum(case when a.d9 = 0 then 100 else round(a.d9/12) end) as case_in_sum_d9, cast(sum(case when a.d9 = 0 then 100 else round(a.d9/12) end) as bigint) as case_in_sum_d9, --coalesce(sum(case when a.d9 = 0 then 100 else round(a.d9/12) end), 0) as case_in_sum_d9 - cast(coalesce(sum(case when a.d9 = 0 then 100 else round(a.d9/12) end), 0) as bigint) as case_in_sum_d9 + cast(coalesce(sum(case when a.d9 = 0 then 100 else round(a.d9/12) end), 0) as bigint) as case_in_sum_d9_0 from alltypes_with_nulls_v a diff --git a/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/plan/with_exprs_d9_group_by_16_cols.sql b/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/plan/with_exprs_d9_group_by_16_cols.sql index 01e5a6359..8e19d326f 100644 --- a/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/plan/with_exprs_d9_group_by_16_cols.sql +++ b/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/plan/with_exprs_d9_group_by_16_cols.sql @@ -11,7 +11,7 @@ select --sum(case when a.d9 = 0 then 100 else round(a.d9/12) end) as case_in_sum_d9, cast(sum(case when a.d9 = 0 then 100 else round(a.d9/12) end) as bigint) as case_in_sum_d9, --coalesce(sum(case when a.d9 = 0 then 100 else round(a.d9/12) end), 0) as case_in_sum_d9 - cast(coalesce(sum(case when a.d9 = 0 then 100 else round(a.d9/12) end), 0) as bigint) as case_in_sum_d9 + cast(coalesce(sum(case when a.d9 = 0 then 100 else round(a.d9/12) end), 0) as bigint) as case_in_sum_d9_0 from alltypes_with_nulls_v a diff --git a/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/plan/with_exprs_d9_group_by_19_cols.sql b/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/plan/with_exprs_d9_group_by_19_cols.sql index 1df435591..e59625a21 100644 --- a/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/plan/with_exprs_d9_group_by_19_cols.sql +++ b/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/plan/with_exprs_d9_group_by_19_cols.sql @@ -11,7 +11,7 @@ select --sum(case when a.d9 = 0 then 100 else round(a.d9/12) end) as case_in_sum_d9, cast(sum(case when a.d9 = 0 then 100 else round(a.d9/12) end) as bigint) as case_in_sum_d9, --coalesce(sum(case when a.d9 = 0 then 100 else round(a.d9/12) end), 0) as case_in_sum_d9 - cast(coalesce(sum(case when a.d9 = 0 then 100 else round(a.d9/12) end), 0) as bigint) as case_in_sum_d9 + cast(coalesce(sum(case when a.d9 = 0 then 100 else round(a.d9/12) end), 0) as bigint) as case_in_sum_d9_0 from alltypes_with_nulls_v a diff --git a/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/plan/with_exprs_d9_group_by_1_cols.sql b/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/plan/with_exprs_d9_group_by_1_cols.sql index 62e301b11..6c116e5d2 100644 --- a/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/plan/with_exprs_d9_group_by_1_cols.sql +++ b/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/plan/with_exprs_d9_group_by_1_cols.sql @@ -11,7 +11,7 @@ select --sum(case when a.d9 = 0 then 100 else round(a.d9/12) end) as case_in_sum_d9, cast(sum(case when a.d9 = 0 then 100 else round(a.d9/12) end) as bigint) as case_in_sum_d9, --coalesce(sum(case when a.d9 = 0 then 100 else round(a.d9/12) end), 0) as case_in_sum_d9 - cast(coalesce(sum(case when a.d9 = 0 then 100 else round(a.d9/12) end), 0) as bigint) as case_in_sum_d9 + cast(coalesce(sum(case when a.d9 = 0 then 100 else round(a.d9/12) end), 0) as bigint) as case_in_sum_d9_0 from alltypes_with_nulls_v a diff --git a/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/plan/with_exprs_d9_group_by_22_cols.sql b/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/plan/with_exprs_d9_group_by_22_cols.sql index 4b763e663..601fe08ef 100644 --- a/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/plan/with_exprs_d9_group_by_22_cols.sql +++ b/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/plan/with_exprs_d9_group_by_22_cols.sql @@ -11,7 +11,7 @@ select --sum(case when a.d9 = 0 then 100 else round(a.d9/12) end) as case_in_sum_d9, cast(sum(case when a.d9 = 0 then 100 else round(a.d9/12) end) as bigint) as case_in_sum_d9, --coalesce(sum(case when a.d9 = 0 then 100 else round(a.d9/12) end), 0) as case_in_sum_d9 - cast(coalesce(sum(case when a.d9 = 0 then 100 else round(a.d9/12) end), 0) as bigint) as case_in_sum_d9 + cast(coalesce(sum(case when a.d9 = 0 then 100 else round(a.d9/12) end), 0) as bigint) as case_in_sum_d9_0 from alltypes_with_nulls_v a diff --git a/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/plan/with_exprs_d9_group_by_25_cols.sql b/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/plan/with_exprs_d9_group_by_25_cols.sql index 5f627ecb8..076080bcb 100644 --- a/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/plan/with_exprs_d9_group_by_25_cols.sql +++ b/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/plan/with_exprs_d9_group_by_25_cols.sql @@ -11,7 +11,7 @@ select --sum(case when a.d9 = 0 then 100 else round(a.d9/12) end) as case_in_sum_d9, cast(sum(case when a.d9 = 0 then 100 else round(a.d9/12) end) as bigint) as case_in_sum_d9, --coalesce(sum(case when a.d9 = 0 then 100 else round(a.d9/12) end), 0) as case_in_sum_d9 - cast(coalesce(sum(case when a.d9 = 0 then 100 else round(a.d9/12) end), 0) as bigint) as case_in_sum_d9 + cast(coalesce(sum(case when a.d9 = 0 then 100 else round(a.d9/12) end), 0) as bigint) as case_in_sum_d9_0 from alltypes_with_nulls_v a diff --git a/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/plan/with_exprs_d9_group_by_28_cols.sql b/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/plan/with_exprs_d9_group_by_28_cols.sql index 5d653897c..e2ed576ed 100644 --- a/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/plan/with_exprs_d9_group_by_28_cols.sql +++ b/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/plan/with_exprs_d9_group_by_28_cols.sql @@ -11,7 +11,7 @@ select --sum(case when a.d9 = 0 then 100 else round(a.d9/12) end) as case_in_sum_d9, cast(sum(case when a.d9 = 0 then 100 else round(a.d9/12) end) as bigint) as case_in_sum_d9, --coalesce(sum(case when a.d9 = 0 then 100 else round(a.d9/12) end), 0) as case_in_sum_d9 - cast(coalesce(sum(case when a.d9 = 0 then 100 else round(a.d9/12) end), 0) as bigint) as case_in_sum_d9 + cast(coalesce(sum(case when a.d9 = 0 then 100 else round(a.d9/12) end), 0) as bigint) as case_in_sum_d9_0 from alltypes_with_nulls_v a diff --git a/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/plan/with_exprs_d9_group_by_31_cols.sql b/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/plan/with_exprs_d9_group_by_31_cols.sql index e38536b06..ad698bc95 100644 --- a/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/plan/with_exprs_d9_group_by_31_cols.sql +++ b/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/plan/with_exprs_d9_group_by_31_cols.sql @@ -11,7 +11,7 @@ select --sum(case when a.d9 = 0 then 100 else round(a.d9/12) end) as case_in_sum_d9, cast(sum(case when a.d9 = 0 then 100 else round(a.d9/12) end) as bigint) as case_in_sum_d9, --coalesce(sum(case when a.d9 = 0 then 100 else round(a.d9/12) end), 0) as case_in_sum_d9 - cast(coalesce(sum(case when a.d9 = 0 then 100 else round(a.d9/12) end), 0) as bigint) as case_in_sum_d9 + cast(coalesce(sum(case when a.d9 = 0 then 100 else round(a.d9/12) end), 0) as bigint) as case_in_sum_d9_0 from alltypes_with_nulls_v a diff --git a/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/plan/with_exprs_d9_group_by_4_cols.sql b/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/plan/with_exprs_d9_group_by_4_cols.sql index 7c49cb412..e3f2de794 100644 --- a/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/plan/with_exprs_d9_group_by_4_cols.sql +++ b/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/plan/with_exprs_d9_group_by_4_cols.sql @@ -11,7 +11,7 @@ select --sum(case when a.d9 = 0 then 100 else round(a.d9/12) end) as case_in_sum_d9, cast(sum(case when a.d9 = 0 then 100 else round(a.d9/12) end) as bigint) as case_in_sum_d9, --coalesce(sum(case when a.d9 = 0 then 100 else round(a.d9/12) end), 0) as case_in_sum_d9 - cast(coalesce(sum(case when a.d9 = 0 then 100 else round(a.d9/12) end), 0) as bigint) as case_in_sum_d9 + cast(coalesce(sum(case when a.d9 = 0 then 100 else round(a.d9/12) end), 0) as bigint) as case_in_sum_d9_0 from alltypes_with_nulls_v a diff --git a/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/plan/with_exprs_d9_group_by_7_cols.sql b/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/plan/with_exprs_d9_group_by_7_cols.sql index 4b85f8bd4..70ae5035d 100644 --- a/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/plan/with_exprs_d9_group_by_7_cols.sql +++ b/framework/resources/Functional/limit0/aggregates/aggregation/multicolumn/plan/with_exprs_d9_group_by_7_cols.sql @@ -11,7 +11,7 @@ select --sum(case when a.d9 = 0 then 100 else round(a.d9/12) end) as case_in_sum_d9, cast(sum(case when a.d9 = 0 then 100 else round(a.d9/12) end) as bigint) as case_in_sum_d9, --coalesce(sum(case when a.d9 = 0 then 100 else round(a.d9/12) end), 0) as case_in_sum_d9 - cast(coalesce(sum(case when a.d9 = 0 then 100 else round(a.d9/12) end), 0) as bigint) as case_in_sum_d9 + cast(coalesce(sum(case when a.d9 = 0 then 100 else round(a.d9/12) end), 0) as bigint) as case_in_sum_d9_0 from alltypes_with_nulls_v a diff --git a/framework/resources/Functional/limit0/p1tests/parquet/data/outer_join1.q b/framework/resources/Functional/limit0/p1tests/parquet/data/outer_join1.q index 8dd8163e1..1d586e146 100644 --- a/framework/resources/Functional/limit0/p1tests/parquet/data/outer_join1.q +++ b/framework/resources/Functional/limit0/p1tests/parquet/data/outer_join1.q @@ -1 +1 @@ -select s.name, v.name, v.registration from student_parquet_v s left outer join voter_parquet_v v on (s.name = v.name) where s.age < 30; +select s.name s_name, v.name v_name, v.registration from student_parquet_v s left outer join voter_parquet_v v on (s.name = v.name) where s.age < 30; diff --git a/framework/resources/Functional/limit0/p1tests/parquet/plan/outer_join1.q b/framework/resources/Functional/limit0/p1tests/parquet/plan/outer_join1.q index 822077035..6266301fb 100644 --- a/framework/resources/Functional/limit0/p1tests/parquet/plan/outer_join1.q +++ b/framework/resources/Functional/limit0/p1tests/parquet/plan/outer_join1.q @@ -1 +1 @@ -explain plan for select * from ( select s.name, v.name, v.registration from student_parquet_v s left outer join voter_parquet_v v on (s.name = v.name) where s.age < 30 ) t limit 0; +explain plan for select * from ( select s.name s_name, v.name v_name, v.registration from student_parquet_v s left outer join voter_parquet_v v on (s.name = v.name) where s.age < 30 ) t limit 0; diff --git a/framework/resources/Functional/limit0/p1tests/text/data/outer_join1.q b/framework/resources/Functional/limit0/p1tests/text/data/outer_join1.q index 67398038e..c4b6aa2cb 100644 --- a/framework/resources/Functional/limit0/p1tests/text/data/outer_join1.q +++ b/framework/resources/Functional/limit0/p1tests/text/data/outer_join1.q @@ -1 +1 @@ -select s.name, v.name, v.registration from student_csv_v s left outer join voter_csv_v v on (s.name = v.name) where s.age < 30; +select s.name s_name, v.name v_name, v.registration from student_csv_v s left outer join voter_csv_v v on (s.name = v.name) where s.age < 30; diff --git a/framework/resources/Functional/limit0/p1tests/text/plan/outer_join1.q b/framework/resources/Functional/limit0/p1tests/text/plan/outer_join1.q index bc2413cb4..2c827f09c 100644 --- a/framework/resources/Functional/limit0/p1tests/text/plan/outer_join1.q +++ b/framework/resources/Functional/limit0/p1tests/text/plan/outer_join1.q @@ -1 +1 @@ -explain plan for select * from ( select s.name, v.name, v.registration from student_csv_v s left outer join voter_csv_v v on (s.name = v.name) where s.age < 30 ) t limit 0; +explain plan for select * from ( select s.name s_name, v.name v_name, v.registration from student_csv_v s left outer join voter_csv_v v on (s.name = v.name) where s.age < 30 ) t limit 0;