Skip to content

Commit 97ed2b8

Browse files
authored
fix: Fix the UnionExec match branches in CometExecRule (apache#68)
1 parent 424733e commit 97ed2b8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

spark/src/main/scala/org/apache/comet/CometSparkSessionExtensions.scala

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -327,6 +327,8 @@ class CometSparkSessionExtensions
327327
case Some(nativeOp) =>
328328
val cometOp = CometUnionExec(u, u.children)
329329
CometSinkPlaceHolder(nativeOp, u, cometOp)
330+
case None =>
331+
u
330332
}
331333

332334
// Native shuffle for Comet operators

0 commit comments

Comments
 (0)