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

Commit

Permalink
[SCALA] Fix ColumnarBroadcastExchange didn't fallback issue when DPP …
Browse files Browse the repository at this point in the history
…is enabled

Signed-off-by: Chendi Xue <[email protected]>
  • Loading branch information
xuechendi committed Jan 4, 2021
1 parent cea3f04 commit 93f8525
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions core/src/main/scala/com/intel/oap/ColumnarGuardRule.scala
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,10 @@ case class ColumnarGuardRule(conf: SparkConf) extends Rule[SparkPlan] {
*/
private def insertRowGuardRecursive(plan: SparkPlan): SparkPlan = {
plan match {
case p: ShuffleExchangeExec =>
RowGuard(p.withNewChildren(p.children.map(insertRowGuardOrNot)))
case p: BroadcastExchangeExec =>
RowGuard(p.withNewChildren(p.children.map(insertRowGuardOrNot)))
case p: ShuffledHashJoinExec =>
RowGuard(p.withNewChildren(p.children.map(insertRowGuardRecursive)))
case p if !supportCodegen(p) =>
Expand Down

0 comments on commit 93f8525

Please sign in to comment.