Skip to content

PrimitiveType.union accepts fixed_len_byte_array fields with different lengths when strict mode is on #1897

@asfimport

Description

@asfimport

The following two schemas probably shouldn't be allowed to be union-ed when strict schema-merging mode is on:

message t1 {
  required fixed_len_byte_array(10) f;
}

message t2 {
  required fixed_len_byte_array(5) f;
}

But currently t1.union(t2, true) yields t1.

Reporter: Cheng Lian / @liancheng
Assignee: Cheng Lian / @liancheng

Related issues:

PRs and other links:

Note: This issue was originally created as PARQUET-385. Please see the migration documentation for further details.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions