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/08/27 03:31:00 UTC

[jira] [Resolved] (SPARK-3037) Add ArrayType containing null value support to Parquet.

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

Michael Armbrust resolved SPARK-3037.
-------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.1.0

> Add ArrayType containing null value support to Parquet.
> -------------------------------------------------------
>
>                 Key: SPARK-3037
>                 URL: https://issues.apache.org/jira/browse/SPARK-3037
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>            Reporter: Takuya Ueshin
>            Assignee: Takuya Ueshin
>            Priority: Blocker
>             Fix For: 1.1.0
>
>
> Parquet support should handle {{ArrayType}} when {{containsNull}} is {{true}}.
> When {{containsNull}} is {{true}}, the schema should be as follows:
> {noformat}
> message root {
>   optional group a (LIST) {
>     repeated group bag {
>       optional int32 array_element;
>     }
>   }
> }
> {noformat}
> FYI:
> Hive's Parquet writer *always* uses this schema, and reader can read only from this schema, i.e. current Parquet support of SparkSQL is not compatible with Hive.
> NOTICE:
> If Hive compatiblity is top priority, we also have to use this schma regardless of {{containsNull}}, which will break backward compatibility.
> But using this schema could affect performance.



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

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