viky-01 opened a new pull request, #46567: URL: https://github.com/apache/arrow/pull/46567
This PR introduces a utility function `type_singleton` to enable lookup of Arrow data types by `Type::type` ID. **Includes:** - New implementation in `type_util.cc` and header in `type_util.h` - Unit test coverage in `type_util_test.cc` - CMake integration to include new file Resolves: Fixes [#46531 ] https://github.com/apache/arrow/issues/46531 ### Are these changes tested? ✅ Yes. The utility is covered with unit tests added to type_util_test.cc. ### Are there any user-facing changes? ❌ No user-facing or breaking changes. The new function is internal utility code meant for use by developers extending or maintaining Arrow. -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
