karuppayya commented on a change in pull request #23696:
[SPARK-26781][SQL]Avoid additional exchanges
URL: https://github.com/apache/spark/pull/23696#discussion_r252308056
##########
File path:
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/namedExpressions.scala
##########
@@ -240,7 +256,9 @@ case class AttributeReference(
/**
* Returns true iff the expression id is the same for both attributes.
*/
- def sameRef(other: AttributeReference): Boolean = this.exprId == other.exprId
+ def sameRef(other: AttributeReference): Boolean = {
+ this.exprId == other.exprId
+ }
Review comment:
Reverted
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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]