[ 
https://issues.apache.org/jira/browse/ARROW-13264?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17375909#comment-17375909
 ] 

Ben Kietzman commented on ARROW-13264:
--------------------------------------

[~lidavidm]

> [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
>            Priority: Major
>
> 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