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

    https://github.com/apache/spark/pull/22785#discussion_r226977895
  
    --- Diff: 
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/encoders/RowEncoder.scala
 ---
    @@ -171,7 +171,7 @@ object RowEncoder {
     
           if (inputObject.nullable) {
             If(IsNull(inputObject),
    -          Literal.create(null, inputType),
    +          Literal.create(null, nonNullOutput.dataType),
    --- End diff --
    
    what's the difference?


---

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

Reply via email to