Skip to content

Conversation

brancz
Copy link
Contributor

@brancz brancz commented Jul 21, 2025

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
Copy link
Contributor

@alamb alamb left a comment

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 Changes to the arrow API label Jul 22, 2025
@alamb alamb merged commit ed02131 into apache:main Jul 22, 2025
27 checks passed
@brancz brancz deleted the dict-id-merge branch July 23, 2025 08:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api-change Changes to the arrow API 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