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

[C++] PrimitiveArray::raw_values has inconsistent semantics re: offsets compared with subclasses

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.6.0
    • Component/s: C++
    • Labels:
      None

      Description

      NumericArray<T>::raw_values accounts for offset, while PrimitiveArray::raw_values does not. This seems likely to lead to shooting one's self in the foot. It may be better to remove PrimitiveArray::raw_values altogether

        Attachments

          Activity

            People

            • Assignee:
              wesmckinn Wes McKinney
              Reporter:
              wesmckinn Wes McKinney
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: