thesamet commented on a change in pull request #35378:
URL: https://github.com/apache/spark/pull/35378#discussion_r797226244



##########
File path: 
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/objects/objects.scala
##########
@@ -321,6 +333,20 @@ case class StaticInvoke(
     copy(arguments = newChildren)
 }
 
+object StaticInvoke {
+  def apply(

Review comment:
       The `this` constructor ends up being a static method on `StaticInvoke`, 
the `apply` as a method on `StaticInvoke$.class` which serves as the companion 
object of `StaticInvoke`. They are both needed for binary compatibility. The 
Scala compile generates both of them for the default constructor.




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