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

[Java] ArrowReader should not close the input ReadChannel

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 0.8.0
    • 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

              bryanc Bryan Cutler
              bryanc Bryan Cutler
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: