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

[Java] ArrowReader should not close the input ReadChannel

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.8.0
    • Component/s: Java

      Description

      Currently, ArrowReader.close() will close resources (VectorSchemaRoot and Dictionary Vectors) and also close the input ReadChannel, or InputStream for ArrowStreamReader. Closing of the ReadChannel should be done by what ever created it because it might need to be reused.

      If this not possible, an alternative could be to add a method ArrowReader.end() that will close resources but not the ReadChannel. Then end() could be called instead of close().

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                bryanc Bryan Cutler
                Reporter:
                bryanc Bryan Cutler
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: