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

    https://github.com/apache/spark/pull/22448#discussion_r219019110
  
    --- Diff: 
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/analysis/TypeCoercion.scala
 ---
    @@ -106,6 +107,22 @@ object TypeCoercion {
         case (t1, t2) => findTypeForComplex(t1, t2, findTightestCommonType)
       }
     
    +  /**
    +   * Finds a wider decimal type between the two supplied decimal types 
without
    +   * any loss of precision.
    +   */
    +  def findWiderDecimalType(d1: DecimalType, d2: DecimalType): 
Option[DecimalType] = {
    --- End diff --
    
    @cloud-fan Sure.. will do.


---

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

Reply via email to