You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Wenchen Fan (Jira)" <ji...@apache.org> on 2021/07/20 13:52:00 UTC

[jira] [Resolved] (SPARK-36079) Null-based filter estimates should always be non-negative

     [ 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: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org