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/26 04:15:58 UTC
[jira] [Updated] (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 updated SPARK-3037:
------------------------------------
Assignee: Takuya Ueshin
> 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
>
> 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