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

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.7.0
    • C++
    • 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

            wesm Wes McKinney
            wesm Wes McKinney
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: