Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
viirya committed Jun 17, 2024
1 parent 356c79a commit 1002268
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -383,8 +383,8 @@ abstract class CometNativeExec extends CometExec {
def transform(arg: Any): AnyRef = arg match {
case sparkPlan: SparkPlan if !sparkPlan.isInstanceOf[CometNativeExec] =>
// Different to Spark, Comet native query node might have a Spark plan as Product element.
// We need to canonicalize the Spark plan. But it is not possibly to be another Comet
// native query node.
// We need to canonicalize the Spark plan. But it cannot be another Comet native query node,
// otherwise it will cause recursive canonicalization.
sparkPlan.canonicalized
case other: AnyRef => other
case null => null
Expand Down

0 comments on commit 1002268

Please sign in to comment.