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

    https://github.com/apache/spark/pull/21713#discussion_r200281741
  
    --- Diff: 
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/analysis/TypeCoercion.scala
 ---
    @@ -166,6 +166,30 @@ object TypeCoercion {
         case (l, r) => None
       }
     
    +  private def mergeComplexTypes(
    +      t1: DataType,
    +      t2: DataType,
    --- End diff --
    
    Maybe `findTightestCommonType` can also reuse `mergeComplexTypes` ?


---

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

Reply via email to