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 2020/09/03 17:00:14 UTC

[jira] [Assigned] (SPARK-32792) Improve in filter pushdown for ParquetFilters

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

Apache Spark reassigned SPARK-32792:
------------------------------------

    Assignee: Apache Spark

> Improve in filter pushdown for ParquetFilters
> ---------------------------------------------
>
>                 Key: SPARK-32792
>                 URL: https://issues.apache.org/jira/browse/SPARK-32792
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 3.1.0
>            Reporter: Yuming Wang
>            Assignee: Apache Spark
>            Priority: Major
>
> [https://github.com/apache/spark/blob/d6a68e0b67ff7de58073c176dd097070e88ac831/sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/parquet/ParquetFilters.scala#L600-L602]
> {code:scala}
>       case sources.In(name, values) if canMakeFilterOn(name, values.head)
>         && values.distinct.length <= pushDownInFilterThreshold =>
>         values.distinct.flatMap { v =>
> {code}
> *distinct* is expensive
>  



--
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