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/05/23 13:24:01 UTC

[jira] [Updated] (SPARK-1913) Parquet table column pruning error caused by filter pushdown

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

Cheng Lian updated SPARK-1913:
------------------------------

    Summary: Parquet table column pruning error caused by filter pushdown  (was: Column pruning for Parquet table)

> Parquet table column pruning error caused by filter pushdown
> ------------------------------------------------------------
>
>                 Key: SPARK-1913
>                 URL: https://issues.apache.org/jira/browse/SPARK-1913
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 1.0.0
>         Environment: mac os 10.9.2
>            Reporter: Chen Chao
>
> When scanning Parquet tables, attributes referenced only in predicates that are pushed down are not passed to the `ParquetTableScan` operator and causes exception. Verified in the {{sbt hive/console}}:
> {code}
> loadTestTable("src")
> table("src").saveAsParquetFile("src.parquet")
> parquetFile("src.parquet").registerAsTable("src_parquet")
> hql("SELECT value FROM src_parquet WHERE key < 10").collect().foreach(println)
> {code}



--
This message was sent by Atlassian JIRA
(v6.2#6252)