lidavidm commented on code in PR #47139: URL: https://github.com/apache/arrow/pull/47139#discussion_r2218050990
########## python/pyarrow/types.py: ########## @@ -46,6 +48,43 @@ lib.Type_STRUCT, lib.Type_MAP} | _UNION_TYPES +class TypesEnum(Enum): + """ + An Enum that maps the constant values + to underlying data types with the same name. + """ + INT8 = lib.Type_INT8 + INT16 = lib.Type_INT16 + INT32 = lib.Type_INT32 + INT64 = lib.Type_INT64 + UINT8 = lib.Type_UINT8 + UINT16 = lib.Type_UINT16 + UINT32 = lib.Type_UINT32 + UINT64 = lib.Type_UINT64 + HALF_FLOAT = lib.Type_HALF_FLOAT + FLOAT = lib.Type_FLOAT + DOUBLE = lib.Type_DOUBLE + DECIMAL32 = lib.Type_DECIMAL32 + DEIMAL64 = lib.Type_DECIMAL64 Review Comment: Typo here -- 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: github-unsubscr...@arrow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org