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

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

    [ https://issues.apache.org/jira/browse/SPARK-36079?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17378345#comment-17378345 ] 

Apache Spark commented on SPARK-36079:
--------------------------------------

User 'karenfeng' has created a pull request for this issue:
https://github.com/apache/spark/pull/33286

> 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
>            Priority: Major
>
> 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