Skip to content

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

Open
viky-01 wants to merge 1 commit intoapache:mainfrom
viky-01:feature/type_singleton_v2
Open

Refactor: move type singleton logic into type.cc/h and tests#46616
viky-01 wants to merge 1 commit intoapache:mainfrom
viky-01:feature/type_singleton_v2

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.

@github-actions
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