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

Antoine Pitrou commented on ARROW-13663:
----------------------------------------

Given the typical usage of STL iterators (i.e. mostly local and synchronous), I 
think the iterator can simply be non-owning, so you only need a raw pointer to 
the {{{}RecordBatchReader{}}}.  [~bkietz]  What do you think?

> [C++] RecordBatchReader should support STL-like iteration
> ---------------------------------------------------------
>
>                 Key: ARROW-13663
>                 URL: https://issues.apache.org/jira/browse/ARROW-13663
>             Project: Apache Arrow
>          Issue Type: Improvement
>          Components: C++
>            Reporter: Antoine Pitrou
>            Assignee: Dhruv Vats
>            Priority: Major
>              Labels: beginner, easy, good-first-issue
>             Fix For: 7.0.0
>
>
> Our custom {{Iterator<T>}} has support for STL-like iteration (allowing 
> natural for loops), but {{RecordBatchReader}} doesn't. Adding STL-like 
> iteration would be a significant quality of life improvement for developers



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to