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 2019/05/17 11:27:00 UTC
[jira] [Resolved] (SPARK-27699) Partially push down disjunctive
predicated in Parquet/ORC
[ https://issues.apache.org/jira/browse/SPARK-27699?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Wenchen Fan resolved SPARK-27699.
---------------------------------
Resolution: Fixed
Fix Version/s: 3.0.0
Issue resolved by pull request 24598
[https://github.com/apache/spark/pull/24598]
> Partially push down disjunctive predicated in Parquet/ORC
> ---------------------------------------------------------
>
> Key: SPARK-27699
> URL: https://issues.apache.org/jira/browse/SPARK-27699
> Project: Spark
> Issue Type: Improvement
> Components: SQL
> Affects Versions: 3.0.0
> Reporter: Gengliang Wang
> Assignee: Gengliang Wang
> Priority: Major
> Fix For: 3.0.0
>
>
> Currently, in `ParquetFilters` and `OrcFilters`, if the child predicate of `Or` operator can't be entirely pushed down, the predicates will be thrown away.
> In fact, the conjunctive predicates under `Or` operators can be partially pushed down.
> For example, says `a` and `b` are convertible, while `c` can't be pushed down, the predicate
> `a or (b and c)`
> can be converted as
> `(a or b) and (a or c)`
> We can still push down `(a or b)`.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org