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

    https://github.com/apache/spark/pull/22014#discussion_r208089613
  
    --- Diff: 
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/plans/logical/statsEstimation/ValueInterval.scala
 ---
    @@ -86,6 +87,7 @@ object ValueInterval {
             val newMax = if (n1.max <= n2.max) n1.max else n2.max
             (Some(EstimationUtils.fromDouble(newMin, dt)),
               Some(EstimationUtils.fromDouble(newMax, dt)))
    +      case _ => throw new RuntimeException(s"Not supported pair: $r1, $r2 
at intersect()")
    --- End diff --
    
    Shall we do `UnsupportedOperationException`?


---

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

Reply via email to