Github user cloud-fan commented on a diff in the pull request:

    https://github.com/apache/spark/pull/22732#discussion_r225807388
  
    --- Diff: 
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/ScalaUDF.scala
 ---
    @@ -31,6 +31,9 @@ import org.apache.spark.sql.types.DataType
      *                  null. Use boxed type or [[Option]] if you wanna do the 
null-handling yourself.
      * @param dataType  Return type of function.
      * @param children  The input expressions of this UDF.
    + * @param handleNullForInputs Whether the inputs need null-value handling, 
which preserves the null
    --- End diff --
    
    `inputsNullSafe` SGTM, let's also rename `UserDefinedFunction.nullableTypes`


---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to