peter-toth commented on code in PR #32298:
URL: https://github.com/apache/spark/pull/32298#discussion_r844000300


##########
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/plans/QueryPlan.scala:
##########
@@ -615,4 +603,23 @@ object QueryPlan extends PredicateHelper {
       case e: AnalysisException => append(e.toString)
     }
   }
+
+  /**
+   * Extracts expressions from an object.
+   */
+  def extractExpressions(o: Any): Seq[Expression] = {

Review Comment:
   It is only required for the current general node merging code path. If we 
drop that then we don't need to extract this function.



-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to