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

[C++] StructScalar needs field accessor methods

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • None
    • 1.0.0
    • C++
    • None

    Description

      The minmax compute function returns a struct with fields "min" and "max". So to write an R binding for the min() method on arrow objects, I call "minmax" and then take the "min" field from the result. However, at least from my reading of scalar.h compared with array_nested.h, there are no field/GetFieldByName/etc. methods for StructScalar, so I can't get it.

      Attachments

        Activity

          People

            Unassigned Unassigned
            npr Neal Richardson
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: