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 18:01:00 UTC
[jira] [Commented] (ARROW-13264) [C++][Dataset] Enforce single use
of Scanner
[ 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)