Skip to content

Commit

Permalink
analyze
Browse files Browse the repository at this point in the history
  • Loading branch information
englefly committed Aug 7, 2024
1 parent 4fa0e30 commit 4e9b443
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
"""
Expand Down

0 comments on commit 4e9b443

Please sign in to comment.