[ 
https://issues.apache.org/jira/browse/PARQUET-385?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15062518#comment-15062518
 ] 

Julien Le Dem commented on PARQUET-385:
---------------------------------------

[~lian cheng] Did you have a patch for this?

> 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)

Reply via email to