Skip to content

Commit

Permalink
[opt](nereids) support pushdown agg distinct through join
Browse files Browse the repository at this point in the history
  • Loading branch information
xzj7019 committed Nov 28, 2024
1 parent cd53f5f commit b8b6a3a
Show file tree
Hide file tree
Showing 9 changed files with 1,841 additions and 259 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,237 @@
-- This file is automatically generated. You should know what you did if you want to edit this
-- !groupby_pushdown_basic --
1
1
2
3

-- !groupby_pushdown_left_join --
1
1
2
3

-- !groupby_pushdown_right_join --
1
1
2
3

-- !groupby_pushdown_full_join --
1
1
2
3

-- !groupby_pushdown_left_semi_join --
1
1
2
3

-- !groupby_pushdown_left_anti_join --

-- !groupby_pushdown_complex_conditions --

-- !groupby_pushdown_with_aggregate --
1 1.0
1 2.0
2 2.0
3 3.0

-- !groupby_pushdown_subquery --

-- !groupby_pushdown_outer_join --
1
1
2
3

-- !groupby_pushdown_deep_subquery --

-- !groupby_pushdown_having --

-- !groupby_pushdown_mixed_aggregates --
1 1
1 6
2 2
3 3

-- !groupby_pushdown_multi_table_join --
1
2
3

-- !groupby_pushdown_with_order_by --
1
1
2
3

-- !groupby_pushdown_multiple_equal_conditions --
1
2
3

-- !groupby_pushdown_equal_conditions_with_aggregate --
1 1
2 2
3 3

-- !groupby_pushdown_equal_conditions_non_aggregate --
a 1
b 2
c 3

-- !groupby_pushdown_equal_conditions_non_aggregate_with_aggregate --
a 1 1
b 2 2
c 3 3

-- !groupby_pushdown_with_where_clause --

-- !groupby_pushdown_varied_aggregates --
1 1.5 a
1 7.0 \N
2 4.5 b
3 7.5 c

-- !groupby_pushdown_with_order_by_limit --
1
1
2
3

-- !groupby_pushdown_alias_multiple_equal_conditions --
1
2
3

-- !groupby_pushdown_complex_join_condition --

-- !groupby_pushdown_function_processed_columns --
\N
1
1
1

-- !groupby_pushdown_nested_queries --

-- !with_hint_groupby_pushdown_basic --
1
1
2
3

-- !with_hint_groupby_pushdown_left_join --
1
1
2
3

-- !with_hint_groupby_pushdown_right_join --
1
1
2
3

-- !with_hint_groupby_pushdown_full_join --
1
1
2
3

-- !with_hint_groupby_pushdown_left_semi_join --
1
1
2
3

-- !with_hint_groupby_pushdown_left_anti_join --

-- !with_hint_groupby_pushdown_complex_conditions --

-- !with_hint_groupby_pushdown_with_aggregate --
1 1.0
1 2.0
2 2.0
3 3.0

-- !with_hint_groupby_pushdown_subquery --

-- !with_hint_groupby_pushdown_outer_join --
1
1
2
3

-- !with_hint_groupby_pushdown_deep_subquery --

-- !with_hint_groupby_pushdown_having --

-- !with_hint_groupby_pushdown_mixed_aggregates --
1 1
1 6
2 2
3 3

-- !with_hint_groupby_pushdown_multi_table_join --
1
2
3

-- !with_hint_groupby_pushdown_with_order_by --
1
1
2
3

-- !with_hint_groupby_pushdown_multiple_equal_conditions --
1
2
3

-- !with_hint_groupby_pushdown_equal_conditions_with_aggregate --
1 1
2 2
3 3

-- !with_hint_groupby_pushdown_equal_conditions_non_aggregate --
a 1
b 2
c 3

-- !with_hint_groupby_pushdown_equal_conditions_non_aggregate_with_aggregate --
a 1 1
b 2 2
c 3 3

-- !with_hint_groupby_pushdown_with_where_clause --

-- !with_hint_groupby_pushdown_varied_aggregates --
1 1.5 a
1 7.0 \N
2 4.5 b
3 7.5 c

-- !with_hint_groupby_pushdown_with_order_by_limit --
1
1
2
3

-- !with_hint_groupby_pushdown_alias_multiple_equal_conditions --
1
2
3

-- !with_hint_groupby_pushdown_complex_join_condition --

-- !with_hint_groupby_pushdown_function_processed_columns --
\N
1
1
1

-- !with_hint_groupby_pushdown_nested_queries --

Loading

0 comments on commit b8b6a3a

Please sign in to comment.