You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Michael Armbrust (JIRA)" <ji...@apache.org> on 2014/11/18 01:56:34 UTC

[jira] [Resolved] (SPARK-4453) Simplify Parquet record filter generation

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

Michael Armbrust resolved SPARK-4453.
-------------------------------------
       Resolution: Fixed
    Fix Version/s: 1.2.0

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

> Simplify Parquet record filter generation
> -----------------------------------------
>
>                 Key: SPARK-4453
>                 URL: https://issues.apache.org/jira/browse/SPARK-4453
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 1.0.0, 1.1.0
>            Reporter: Cheng Lian
>            Assignee: Cheng Lian
>            Priority: Critical
>             Fix For: 1.2.0
>
>
> Current Parquet record filter code uses {{CatalystFilter}} and its sub-classes to represent all Spark SQL Parquet filter. Essentially, these classes combines the original Catalyst predicate expression together with the generated Parquet filter. {{ParquetFilters.findExpression}} then uses these classes to filter out all expressions that can be pushed down.
> However, this {{findExpression}} function is not necessary at the first place, since we already know whether a predicate can be pushed down or not while trying to generate its corresponding filter.
> With this in mind, the code size of Parquet record filter generation can be reduced significantly.



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