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

[jira] [Created] (SPARK-36079) Filter estimate should always be non-negative

Karen Feng created SPARK-36079:
----------------------------------

             Summary: Filter estimate 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


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