Skip to content

GH-51566: [C++] Add type_id to arrow::ArrayBuilder - #51567

Closed
andishgar wants to merge 1 commit into
apache:mainfrom
andishgar:add_type_id
Closed

andishgar wants to merge 1 commit into
apache:mainfrom
andishgar:add_type_id

Conversation

@andishgar

@andishgar andishgar commented Sep 27, 2026 •

Copy link
Copy Markdown
Contributor

Rationale for this change

Add type_id to allow accessing an ArrayBuilder's type ID without constructing the type. This avoids unnecessary type construction when accessing the type ID of nested types.

What changes are included in this PR?

Add arrow::ArrayBuilder::type_id.

Are these changes tested?

No, since this is a trivial change.

Are there any user-facing changes?

No.

@github-actions

Copy link
Copy Markdown

Thanks for opening a pull request!

This pull request has been automatically converted to a draft because its title doesn't match Arrow's required format.

If this is not a minor PR, could you open an issue for this pull request on GitHub? https://github.com/apache/arrow/issues/new/choose

Opening GitHub issues ahead of time contributes to the Openness of the Apache Arrow project.

Then could you also rename the pull request title in the following format?

GH-${GITHUB_ISSUE_ID}: [${COMPONENT}] ${SUMMARY}

or

MINOR: [${COMPONENT}] ${SUMMARY}

After updating the title, you can mark the pull request as ready for review.

See also:

@github-actions

Copy link
Copy Markdown

Thanks for opening a pull request!

This pull request has been automatically closed because you currently have 5 open pull requests, which is more than the limit of 3.

Due to the increase in pull requests opened by AI bots, and in order to keep the review queue manageable, Apache Arrow limits contributors without repository access to at most 3 concurrently open pull requests. This helps make sure each pull request gets the attention it needs and that work in progress does not go stale.

Once one of your other open pull requests has been merged or closed, you are welcome to reopen this one.

See also:

@github-actions
github-actions Bot marked this pull request as draft September 27, 2026 16:40
@github-actions github-actions Bot closed this Sep 27, 2026
@andishgar andishgar changed the title Add type_id GH-51566: [C++] Add type_id to arrow::ArrayBuilder Sep 27, 2026
@github-actions

Copy link
Copy Markdown

⚠️ GitHub issue #51566 has been automatically assigned in GitHub to PR creator.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant