Skip to content
This repository has been archived by the owner on Sep 18, 2023. It is now read-only.

Commit

Permalink
Enable wscg for agg with child plan supporting codegen
Browse files Browse the repository at this point in the history
  • Loading branch information
PHILO-HE committed Aug 16, 2022
1 parent cce191a commit 59e43e4
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,8 @@ case class ColumnarCollapseCodegenStages(
if (containsSubquery(p.condition) || containsSubquery(p.projectList)) =>
false
case p: ColumnarCodegenSupport if p.supportColumnarCodegen =>
plan.children.map(existsJoins(_, count)).exists(_ == true)
if (count >= 1) true
else plan.children.map(existsJoins(_, count)).exists(_ == true)
case _ =>
false
}
Expand Down

0 comments on commit 59e43e4

Please sign in to comment.