You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Cheng Lian (JIRA)" <ji...@apache.org> on 2014/11/17 19:05:33 UTC
[jira] [Created] (SPARK-4453) Simplify Parquet record filter
generation
Cheng Lian created SPARK-4453:
---------------------------------
Summary: 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.1.0, 1.0.0
Reporter: Cheng Lian
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