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

GH-45075: [C++] Remove result_internal.h #45066

Merged
merged 1 commit into from
Dec 19, 2024

Conversation

wgtmac
Copy link
Member

@wgtmac wgtmac commented Dec 18, 2024

Rationale for this change

The result_internal.h file contains only the definition of ASSIGN_OR_RAISE and thus can be removed because ARROW_ASSIGN_OR_RAISE is preferred over ASSIGN_OR_RAISE.

What changes are included in this PR?

Remove result_internal.h and use ARROW_ASSIGN_OR_RAISE to replace ASSIGN_OR_RAISE.

Are these changes tested?

Pass CI.

Are there any user-facing changes?

No.

@pitrou
Copy link
Member

pitrou commented Dec 18, 2024

This is perhaps not minor (can you open an issue?), but otherwise LGTM.

@wgtmac wgtmac changed the title MINOR: [C++] Remove result_internal.h GH-45075: [C++] Remove result_internal.h Dec 19, 2024
Copy link

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

@wgtmac
Copy link
Member Author

wgtmac commented Dec 19, 2024

This is perhaps not minor (can you open an issue?), but otherwise LGTM.

Created an issue and changed the PR title.

Copy link
Member

@kou kou left a comment

Choose a reason for hiding this comment

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

+1

@kou kou merged commit 6f65782 into apache:main Dec 19, 2024
39 checks passed
@kou kou removed the awaiting review Awaiting review label Dec 19, 2024
@github-actions github-actions bot added the awaiting merge Awaiting merge label Dec 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants