You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@parquet.apache.org by "Cheng Lian (JIRA)" <ji...@apache.org> on 2015/09/28 23:34:04 UTC
[jira] [Updated] (PARQUET-385) PrimitiveType.union accepts
fixed_len_byte_array fields with different lengths when strict mode is on
[ https://issues.apache.org/jira/browse/PARQUET-385?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Cheng Lian updated PARQUET-385:
-------------------------------
Summary: PrimitiveType.union accepts fixed_len_byte_array fields with different lengths when strict mode is on (was: PrimitiveType.union accepts fixed_len_byte_array fields with different length when strict mode is on)
> PrimitiveType.union accepts fixed_len_byte_array fields with different lengths when strict mode is on
> -----------------------------------------------------------------------------------------------------
>
> Key: PARQUET-385
> URL: https://issues.apache.org/jira/browse/PARQUET-385
> Project: Parquet
> Issue Type: Bug
> Components: parquet-mr
> Affects Versions: 1.5.0, 1.6.0, 1.7.0, 1.8.0
> Reporter: Cheng Lian
>
> The following two schemas probably shouldn't be allowed to be union-ed when strict schema-merging mode is on:
> {noformat}
> message t1 {
> required fixed_len_byte_array(10) f;
> }
> message t2 {
> required fixed_len_byte_array(5) f;
> }
> {noformat}
> But currently {{t1.union(t2, true)}} yields {{t1}}.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)