Cheng Lian created PARQUET-385:
----------------------------------
Summary: PrimitiveType.union accepts fixed_len_byte_array fields
with different length 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.8.0, 1.7.0, 1.6.0, 1.5.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)