Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -454,7 +454,7 @@ public PlanFragment visitPhysicalHashAggregate(
// TODO: nereids forbid all parallel scan under aggregate temporary, because nereids could generate
// so complex aggregate plan than legacy planner, and should add forbid parallel scan hint when
// generate physical aggregate plan.
if (leftMostNode instanceof OlapScanNode && aggregate.getAggregateParam().needColocateScan) {
if (leftMostNode instanceof OlapScanNode) {
currentFragment.setHasColocatePlanNode(true);
}
setPlanRoot(currentFragment, aggregationNode, aggregate);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -248,3 +248,10 @@ name_4 1 4
1
1

-- !sql_distinct_same_col2 --
1
1
1
1
1

Original file line number Diff line number Diff line change
Expand Up @@ -213,4 +213,7 @@ suite("aggregate_strategies") {
}

qt_sql_distinct_same_col """SELECT COUNT(DISTINCT id, id) FROM test_bucket10_table GROUP BY id """

sql "set experimental_enable_pipeline_engine=true"
qt_sql_distinct_same_col2 """SELECT COUNT(DISTINCT id, id) FROM test_bucket10_table GROUP BY id """
}