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

    https://github.com/apache/spark/pull/22544#discussion_r220445443
  
    --- Diff: 
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/analysis/TypeCoercion.scala
 ---
    @@ -971,9 +971,38 @@ object TypeCoercion {
             case (ArrayType(fromType, true), ArrayType(toType: DataType, 
false)) => null
     
             case (ArrayType(fromType, false), ArrayType(toType: DataType, 
false))
    -            if !Cast.forceNullable(fromType, toType) =>
    +          if !Cast.forceNullable(fromType, toType) =>
    --- End diff --
    
    nit: revert this change.


---

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

Reply via email to