[ 
https://issues.apache.org/jira/browse/SPARK-36079?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Wenchen Fan resolved SPARK-36079.
---------------------------------
    Fix Version/s: 3.1.3
                   3.2.0
                   3.0.4
       Resolution: Fixed

Issue resolved by pull request 33286
[https://github.com/apache/spark/pull/33286]

> Null-based filter estimates should always be non-negative
> ---------------------------------------------------------
>
>                 Key: SPARK-36079
>                 URL: https://issues.apache.org/jira/browse/SPARK-36079
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 3.2.0
>            Reporter: Karen Feng
>            Assignee: Karen Feng
>            Priority: Major
>             Fix For: 3.0.4, 3.2.0, 3.1.3
>
>
> It's possible for a column's statistics to have a higher `nullCount` than the 
> table's `rowCount`. In this case, the filter estimates come back outside of 
> the reasonable range (between 0 and 1).



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

Reply via email to