Skip to content

Commit

Permalink
revert a change
Browse files Browse the repository at this point in the history
  • Loading branch information
andygrove committed May 7, 2024
1 parent 07c7784 commit 7becda1
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -797,7 +797,7 @@ class CometSparkSessionExtensions

// Convert native execution block by linking consecutive native operators.
var firstNativeOp = true
val finalPlan = newPlan.transformDown {
newPlan.transformDown {
case op: CometNativeExec =>
if (firstNativeOp) {
firstNativeOp = false
Expand All @@ -809,8 +809,6 @@ class CometSparkSessionExtensions
firstNativeOp = true
op
}

finalPlan
}
}

Expand Down

0 comments on commit 7becda1

Please sign in to comment.