cloud-fan commented on a change in pull request #24442: [SPARK-27547][SQL] Fix
DataFrame self-join problems
URL: https://github.com/apache/spark/pull/24442#discussion_r281640977
##########
File path: sql/core/src/main/scala/org/apache/spark/sql/Column.scala
##########
@@ -144,11 +144,11 @@ class Column(val expr: Expression) extends Logging {
override def toString: String = toPrettySQL(expr)
override def equals(that: Any): Boolean = that match {
- case that: Column => that.expr.equals(this.expr)
+ case that: Column => that.expr.semanticEquals(this.expr)
Review comment:
I made a new change to avoid this issue completely.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]