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

[C++] Document that shared_ptr returned by RecordBatch::column needs to be retained

    Details

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

      Description

      I ran into an issue where a now-temporary column was being deferenced, causing a segfault. In older versions of Arrow, the RecordBatch internally retains boxed arrays. We might separately consider returning to this internal data model even though it results in worse IPC performance in some cases.

        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: