Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-13296

[C++] Provide reflection-compatible enum replacement

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 5.0.0
    • C++

    Description

      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).

      Attachments

        Issue Links

          Activity

            People

              bkietz Ben Kietzman
              bkietz Ben Kietzman
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 2h 10m
                  2h 10m