From 4e9b4439639b6179f0cbdc799110acf8d8e638ca Mon Sep 17 00:00:00 2001 From: englefly Date: Wed, 7 Aug 2024 22:26:03 +0800 Subject: [PATCH] analyze --- .../eager_aggregate/push_down_count_through_join.groovy | 2 +- .../push_down_count_through_join_one_side.groovy | 2 +- .../eager_aggregate/push_down_max_through_join.groovy | 1 + .../eager_aggregate/push_down_min_through_join.groovy | 2 +- .../eager_aggregate/push_down_sum_through_join.groovy | 2 +- .../eager_aggregate/push_down_sum_through_join_one_side.groovy | 2 +- 6 files changed, 6 insertions(+), 5 deletions(-) diff --git a/regression-test/suites/nereids_rules_p0/eager_aggregate/push_down_count_through_join.groovy b/regression-test/suites/nereids_rules_p0/eager_aggregate/push_down_count_through_join.groovy index d6ee21b213d079..b0bad1faba7801 100644 --- a/regression-test/suites/nereids_rules_p0/eager_aggregate/push_down_count_through_join.groovy +++ b/regression-test/suites/nereids_rules_p0/eager_aggregate/push_down_count_through_join.groovy @@ -47,7 +47,7 @@ suite("push_down_count_through_join") { sql "insert into count_t values (8, null, 'c')" sql "insert into count_t values (9, 3, null)" sql "insert into count_t values (10, null, null)" - + sql "analyze table max_t with sync;" qt_groupby_pushdown_basic """ explain shape plan select count(t1.score) from count_t t1, count_t t2 where t1.id = t2.id group by t1.name; """ diff --git a/regression-test/suites/nereids_rules_p0/eager_aggregate/push_down_count_through_join_one_side.groovy b/regression-test/suites/nereids_rules_p0/eager_aggregate/push_down_count_through_join_one_side.groovy index 595e5fc3706038..e8d2d6e61b8ce3 100644 --- a/regression-test/suites/nereids_rules_p0/eager_aggregate/push_down_count_through_join_one_side.groovy +++ b/regression-test/suites/nereids_rules_p0/eager_aggregate/push_down_count_through_join_one_side.groovy @@ -48,7 +48,7 @@ suite("push_down_count_through_join_one_side") { sql "insert into count_t_one_side values (8, null, 'c')" sql "insert into count_t_one_side values (9, 3, null)" sql "insert into count_t_one_side values (10, null, null)" - + sql "analyze table max_t with sync;" qt_groupby_pushdown_basic """ explain shape plan select count(t1.score) from count_t_one_side t1, count_t_one_side t2 where t1.id = t2.id group by t1.name; """ diff --git a/regression-test/suites/nereids_rules_p0/eager_aggregate/push_down_max_through_join.groovy b/regression-test/suites/nereids_rules_p0/eager_aggregate/push_down_max_through_join.groovy index 1b3d2d44fcd087..e822807cefa786 100644 --- a/regression-test/suites/nereids_rules_p0/eager_aggregate/push_down_max_through_join.groovy +++ b/regression-test/suites/nereids_rules_p0/eager_aggregate/push_down_max_through_join.groovy @@ -47,6 +47,7 @@ suite("push_down_max_through_join") { sql "insert into max_t values (8, null, 'c')" sql "insert into max_t values (9, 3, null)" sql "insert into max_t values (10, null, null)" + sql "analyze table max_t with sync;" qt_groupby_pushdown_basic """ explain shape plan select max(t1.score) from max_t t1, max_t t2 where t1.id = t2.id group by t1.name; diff --git a/regression-test/suites/nereids_rules_p0/eager_aggregate/push_down_min_through_join.groovy b/regression-test/suites/nereids_rules_p0/eager_aggregate/push_down_min_through_join.groovy index c93dfe53d80c1e..4e20368c86a33b 100644 --- a/regression-test/suites/nereids_rules_p0/eager_aggregate/push_down_min_through_join.groovy +++ b/regression-test/suites/nereids_rules_p0/eager_aggregate/push_down_min_through_join.groovy @@ -47,7 +47,7 @@ suite("push_down_min_through_join") { sql "insert into min_t values (8, null, 'c')" sql "insert into min_t values (9, 3, null)" sql "insert into min_t values (10, null, null)" - + sql "analyze table max_t with sync;" qt_groupby_pushdown_basic """ explain shape plan select min(t1.score) from min_t t1, min_t t2 where t1.id = t2.id group by t1.name; """ diff --git a/regression-test/suites/nereids_rules_p0/eager_aggregate/push_down_sum_through_join.groovy b/regression-test/suites/nereids_rules_p0/eager_aggregate/push_down_sum_through_join.groovy index 4f9470860b25ee..4f125c053e0302 100644 --- a/regression-test/suites/nereids_rules_p0/eager_aggregate/push_down_sum_through_join.groovy +++ b/regression-test/suites/nereids_rules_p0/eager_aggregate/push_down_sum_through_join.groovy @@ -47,7 +47,7 @@ suite("push_down_sum_through_join") { sql "insert into sum_t values (8, null, 'c')" sql "insert into sum_t values (9, 3, null)" sql "insert into sum_t values (10, null, null)" - + sql "analyze table max_t with sync;" qt_groupby_pushdown_basic """ explain shape plan select sum(t1.score) from sum_t t1, sum_t t2 where t1.id = t2.id group by t1.name; """ diff --git a/regression-test/suites/nereids_rules_p0/eager_aggregate/push_down_sum_through_join_one_side.groovy b/regression-test/suites/nereids_rules_p0/eager_aggregate/push_down_sum_through_join_one_side.groovy index 1910c294de42b9..3cf9c629da7593 100644 --- a/regression-test/suites/nereids_rules_p0/eager_aggregate/push_down_sum_through_join_one_side.groovy +++ b/regression-test/suites/nereids_rules_p0/eager_aggregate/push_down_sum_through_join_one_side.groovy @@ -47,7 +47,7 @@ suite("push_down_sum_through_join_one_side") { sql "insert into sum_t_one_side values (8, null, 'c')" sql "insert into sum_t_one_side values (9, 3, null)" sql "insert into sum_t_one_side values (10, null, null)" - + sql "analyze table max_t with sync;" qt_groupby_pushdown_basic """ explain shape plan select sum(t1.score) from sum_t_one_side t1, sum_t_one_side t2 where t1.id = t2.id group by t1.name; """