Skip to content

Commit a3978f0

Browse files
committed
fix ReusedExchangeExec equals
1 parent 1634003 commit a3978f0

File tree

1 file changed

+1
-1
lines changed
  • sql/core/src/main/scala/org/apache/spark/sql/execution/exchange

1 file changed

+1
-1
lines changed

sql/core/src/main/scala/org/apache/spark/sql/execution/exchange/Exchange.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ case class ReusedExchangeExec(override val output: Seq[Attribute], child: Exchan
5555
extends LeafExecNode {
5656

5757
override def equals(that: Any): Boolean = that match {
58-
case ReusedExchangeExec(output, child) => this.child == output && this.child.eq(child)
58+
case ReusedExchangeExec(output, child) => this.output == output && this.child.eq(child)
5959
case _ => false
6060
}
6161

0 commit comments

Comments
 (0)