Skip to content

Refactor: move type singleton logic into type.cc/h and tests #46616

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

viky-01
Copy link

@viky-01 viky-01 commented May 27, 2025

Rationale for this change
This PR addresses the feedback provided in issue [ #46531 ] (#46531), refactoring the singleton logic to follow the project's file organization conventions.

What changes are included in this PR?
Moved the singleton declaration to type.h
Moved the singleton definition to type.cc
Moved the corresponding test to type_test.cc

Are these changes tested?
✅ Yes, tests are included in type_test.cc.

Are there any user-facing changes?
❌ No, there are no user-facing or breaking changes in this PR.

Copy link

Thanks for opening a pull request!

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}

See also:

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