yaooqinn commented on a change in pull request #30586:
URL: https://github.com/apache/spark/pull/30586#discussion_r536072544



##########
File path: 
sql/core/src/main/scala/org/apache/spark/sql/expressions/UserDefinedFunction.scala
##########
@@ -96,6 +97,8 @@ private[spark] case class SparkUserDefinedFunction(
     nullable: Boolean = true,
     deterministic: Boolean = true) extends UserDefinedFunction {
 
+  CharVarcharUtils.failIfHasCharVarchar(dataType)

Review comment:
       Could this happen when one person defines the UDF but another guy tries 
to register and use it?




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



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

Reply via email to