apache / apache/parquet-java

Deprecate the "strict" argument in MessageType.union()

Open
#2,006 0 comments 0 reactions 0 assignees View on GitHub
Component: Java Component: Parquet Priority: Minor Type: bug
Dominant language
Java
Stars
3.1k
Forks
1.6k
Avg merge
3d 12h
Merged PRs (30d)
33

Description

As discussed in PARQUET-379, non-strict schema merging doesn't really make any sense and we always set to true throughout the code base. Should probably deprecate it and make sure no internal code ever use non-strict schema merging.

**Reporter**: [Cheng Lian](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=lian+cheng) / @liancheng

**Note**: *This issue was originally created as [PARQUET-754](https://issues.apache.org/jira/browse/PARQUET-754). Please see the [migration documentation](https://issues.apache.org/jira/browse/PARQUET-2502) for further details.*

Contributor guide

No contributing guide indexed for this repository

Research direction

Start at the MessageType.union() entry point and review the PARQUET-379 discussion and current internal call sites. Confirm that non-strict schema merging is no longer used internally, then verify that the strict argument is deprecated and update the migration documentation referenced in the issue if needed.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
data-engineering
Issue type
Refactor
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.