There's significant boilerplate associated with using enumerations in arrow, since we need to expose them to the bindings which involves a mapping to/from strings per binding. That's not ideal and we could do better with a metaprogramming utility which provides enum semantics but supports basic reflection (min/max value, number of values, to/from string).
Reporter: Ben Kietzman / @bkietz
Assignee: Ben Kietzman / @bkietz
Related issues:
PRs and other links:
Note: This issue was originally created as ARROW-13296. Please see the migration documentation for further details.
There's significant boilerplate associated with using enumerations in arrow, since we need to expose them to the bindings which involves a mapping to/from strings per binding. That's not ideal and we could do better with a metaprogramming utility which provides enum semantics but supports basic reflection (min/max value, number of values, to/from string).
Reporter: Ben Kietzman / @bkietz
Assignee: Ben Kietzman / @bkietz
Related issues:
PRs and other links:
Note: This issue was originally created as ARROW-13296. Please see the migration documentation for further details.