You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Ben Kietzman (Jira)" <ji...@apache.org> on 2021/07/06 17:52:00 UTC

[jira] [Created] (ARROW-13264) [C++][Dataset] Enforce single use of Scanner

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)