Skip to content

arrow-schema: Remove dict_id from being required equal for merging - #7968

Merged
alamb merged 1 commit into
apache:mainfrom
polarsignals:dict-id-merge
Jul 22, 2025
Merged

alamb merged 1 commit into
apache:mainfrom
polarsignals:dict-id-merge

Conversation

@brancz

@brancz brancz commented Jul 21, 2025 •

Copy link
Copy Markdown
Contributor

Which issue does this PR close?

Closes #6356

Rationale for this change

Now that #7940 is merged, nothing useful can be done with the dict_id field, therefore, it is now safe to be removed from this requirement.

This was also split out from: #7467

What changes are included in this PR?

No longer require the dict_id fields of two Fields of schemas being merged to be equal, as at this point the dict_id is only an IPC concern, and the fact that it is still in the struct definition is just legacy, marked for removal, we're just going through the proper procedure of deprecating and replacing the APIs that use it.

Are these changes tested?

Tests passing.

Are there any user-facing changes?

No API changes, just a behavior change, that was to be expected and desired due to the deprecations around the dict_id field.

@alamb @adriangb @tustvold

@github-actions github-actions Bot added the arrow Changes to the arrow crate label Jul 21, 2025

@alamb alamb left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM -- thanks @brancz

@alamb alamb added the api-change Breaking API change, needs to wait for a major version release label Jul 22, 2025
@alamb
alamb merged commit ed02131 into apache:main Jul 22, 2025
@brancz
brancz deleted the dict-id-merge branch July 23, 2025 08:40
avantgardnerio pushed a commit to coralogix/arrow-rs that referenced this pull request Mar 18, 2026
avantgardnerio pushed a commit to coralogix/arrow-rs that referenced this pull request Apr 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api-change Breaking API change, needs to wait for a major version release arrow Changes to the arrow crate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Relax dict_id equality in field merging

2 participants