Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Formalize the default nested list field name to item #6785

Merged
merged 1 commit into from
Nov 25, 2024

Conversation

gruuya
Copy link
Contributor

@gruuya gruuya commented Nov 25, 2024

Which issue does this PR close?

Closes #6784.

Rationale for this change

Consolidate the list field naming convention.

What changes are included in this PR?

Add a Field::LIST_FIELD_DEFAULT_NAME constant set to item, and use it in Field::new_list_field.

Also replace any calls to Field::new with explicit item name to use Field::new_list_field instead.

Note that this change doesn't touch the convention for Dictionary field names.

Are there any user-facing changes?

None.

@github-actions github-actions bot added parquet Changes to the parquet crate arrow Changes to the arrow crate arrow-flight Changes to the arrow-flight crate labels Nov 25, 2024
@gruuya gruuya force-pushed the arrow-list-field-item-name branch from 692d64e to 457fce5 Compare November 25, 2024 10:49
@gruuya gruuya force-pushed the arrow-list-field-item-name branch from 457fce5 to 8b3faa5 Compare November 25, 2024 10:51
@gruuya gruuya changed the title Formalize the default nested list field name to item Formalize the default nested list field name to item Nov 25, 2024
@tustvold tustvold merged commit a75da00 into apache:main Nov 25, 2024
30 checks passed
@gruuya gruuya deleted the arrow-list-field-item-name branch November 25, 2024 14:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
arrow Changes to the arrow crate arrow-flight Changes to the arrow-flight crate parquet Changes to the parquet crate
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Formalize the name of the nested Field in a list
2 participants