viky-01 opened a new issue, #46568: URL: https://github.com/apache/arrow/issues/46568
### Describe the enhancement requested This enhancement proposes adding a utility function named `type_singleton` to simplify the lookup of Arrow data types by `Type::type` ID. This function is meant for internal use by developers and maintainers to improve code readability and maintainability in areas where type-based logic is implemented. The enhancement includes: - Implementation in `type_util.cc` - Declaration in `type_util.h` - Unit test coverage in `type_util_test.cc` - CMake integration for the new file There are no user-facing or breaking changes introduced by this enhancement. ### Component(s) C++ -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@arrow.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org