ConeyLiu commented on code in PR #42612:
URL: https://github.com/apache/spark/pull/42612#discussion_r1329539929
##########
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/objects/objects.scala:
##########
@@ -279,7 +283,9 @@ case class StaticInvoke(
inputTypes: Seq[AbstractDataType] = Nil,
propagateNull: Boolean = true,
returnNullable: Boolean = true,
- isDeterministic: Boolean = true) extends InvokeLike {
+ isDeterministic: Boolean = true,
+ scalarFunctionName: Option[String] = None,
Review Comment:
Seems is not easy. The `BoundFunction` is created by calling the bind method
of `UnboundFunction` which is loaded by `FunctionCatalog`. And we have no
guarantee the `BoundFunction` has no-args constructor to create with reflect.
--
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]