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

Commit

Permalink
[NSE-791] fix xchg reuse in Spark321 (#799)
Browse files Browse the repository at this point in the history
* fix xchg reuse

Signed-off-by: Yuan Zhou <[email protected]>

* move to spark321 shim layer

Signed-off-by: Yuan Zhou <[email protected]>
  • Loading branch information
zhouyuan authored Mar 25, 2022
1 parent 735f939 commit 8027a18
Show file tree
Hide file tree
Showing 2 changed files with 812 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,8 @@ case class ColumnarPostOverrides() extends Rule[SparkPlan] {
s" See above override in BroadcastQueryStageExec")
val localBroadcastXchg = broadcastQueryStageExec.plan.asInstanceOf[BroadcastExchangeExec]
val dataToArrowColumnar = localBroadcastXchg.child.asInstanceOf[DataToArrowColumnarExec]
ColumnarBroadcastExchangeExec(localBroadcastXchg.mode, dataToArrowColumnar)
//ColumnarBroadcastExchangeExec(localBroadcastXchg.mode, dataToArrowColumnar)
dataToArrowColumnar.child
case plan: RowToColumnarExec =>
val child = replaceWithColumnarPlan(plan.child)
if (columnarConf.enableArrowRowToColumnar) {
Expand Down
Loading

0 comments on commit 8027a18

Please sign in to comment.