Ben Kietzman created ARROW-13264:
------------------------------------

             Summary: [C++][Dataset] Enforce single use of Scanner
                 Key: ARROW-13264
                 URL: https://issues.apache.org/jira/browse/ARROW-13264
             Project: Apache Arrow
          Issue Type: Improvement
          Components: C++
            Reporter: Ben Kietzman


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



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to