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 2019/05/14 09:55:00 UTC

[jira] [Assigned] (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 ]

Apache Spark reassigned SPARK-27699:
------------------------------------

    Assignee: Apache Spark

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