Github user srowen commented on a diff in the pull request:

    https://github.com/apache/spark/pull/22063#discussion_r212393299
  
    --- Diff: 
sql/core/src/main/scala/org/apache/spark/sql/expressions/UserDefinedFunction.scala
 ---
    @@ -40,7 +40,14 @@ import org.apache.spark.sql.types.DataType
     case class UserDefinedFunction protected[sql] (
         f: AnyRef,
         dataType: DataType,
    -    inputTypes: Option[Seq[DataType]]) {
    +    inputTypes: Option[Seq[DataType]],
    +    nullableTypes: Option[Seq[Boolean]] = None) {
    --- End diff --
    
    I was hoping to minimize the change in the signature, but yeah it could be 
`Option[Seq[(DataType, Boolean)]]`?


---

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

Reply via email to