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

[C++][Dataset] Enforce single use of Scanner

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • C++
    • None

    Description

      Scanner is not guaranteed to be scannable more than once (for example, a Scanner which wraps a RecordBatchReader cannot be rewound). However many c++ unit tests reuse scanners and there aren't clear comments explaining that scanners shouldn't be assumed reusable. The simplest solution is to explicitly require that all Scanners be single-use

      Attachments

        Activity

          People

            Unassigned Unassigned
            bkietz Ben Kietzman
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated: