spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Armbrust (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (SPARK-5465) Data source version of Parquet doesn't push down And filters properly
Date Mon, 02 Feb 2015 02:53:34 GMT

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

Michael Armbrust resolved SPARK-5465.
-------------------------------------
       Resolution: Fixed
    Fix Version/s: 1.3.0

Issue resolved by pull request 4255
[https://github.com/apache/spark/pull/4255]

> Data source version of Parquet doesn't push down And filters properly
> ---------------------------------------------------------------------
>
>                 Key: SPARK-5465
>                 URL: https://issues.apache.org/jira/browse/SPARK-5465
>             Project: Spark
>          Issue Type: Sub-task
>          Components: SQL
>    Affects Versions: 1.2.0, 1.2.1
>            Reporter: Cheng Lian
>            Priority: Blocker
>             Fix For: 1.3.0
>
>
> The current implementation combines all predicates and then tries to convert it to a
single Parquet filter predicate. In this way, the Parquet filter predicate can not be generated
if any component of the original filters can not be converted. (code lines [here|https://github.com/apache/spark/blob/a731314c319a6f265060e05267844069027804fd/sql/core/src/main/scala/org/apache/spark/sql/parquet/newParquet.scala#L197-L201]).
> For example, {{a > 10 AND a < 20}} can be successfully converted, while {{a >
10 AND a < b}} can't because Parquet doesn't accept filters like {{a < b}}.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org


Mime
View raw message