AlenkaF commented on code in PR #47139: URL: https://github.com/apache/arrow/pull/47139#discussion_r2227497353
########## python/pyarrow/types.py: ########## @@ -46,6 +48,79 @@ lib.Type_STRUCT, lib.Type_MAP} | _UNION_TYPES +class TypesEnum(Enum): Review Comment: Ah, got it. Hm, not sure. I am guessing it would be useful to compare them to integers when testing and it probably also aligns with C++ type codes better? Should in this case the order be strictly the same as in the 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: github-unsubscr...@arrow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org