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

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

    Assignee:     (was: 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
>            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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to