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

[C++] Refactor IPC vector "loading" and "unloading" to be based on cleaner visitor pattern

    Details

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

      Description

      The logic for obtaining buffers and metaata from each array is currently somewhat self-contained in arrow/ipc/adapter.cc – this is somewhat inflexible. See the interface used in the Java implementation: https://github.com/apache/arrow/blob/master/java/vector/src/main/java/org/apache/arrow/vector/FieldVector.java#L52

      This may be better implemented using virtual functions and the visitor pattern, which may yield better user-extensibility in the future

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: