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

    https://github.com/apache/spark/pull/17918#discussion_r115671957
  
    --- Diff: 
sql/catalyst/src/test/scala/org/apache/spark/sql/catalyst/statsEstimation/FilterEstimationSuite.scala
 ---
    @@ -421,7 +420,7 @@ class FilterEstimationSuite extends 
StatsEstimationTestBase {
       test("cdouble < 3.0") {
         validateEstimatedStats(
           Filter(LessThan(attrDouble, Literal(3.0)), 
childStatsTestPlan(Seq(attrDouble), 10L)),
    -      Seq(attrDouble -> ColumnStat(distinctCount = 2, min = Some(1.0), max 
= Some(3.0),
    +      Seq(attrDouble -> ColumnStat(distinctCount = 3, min = Some(1.0), max 
= Some(3.0),
    --- End diff --
    
    these changes are because the filter selectivity is now decimal instead of 
double?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

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

Reply via email to