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

Ji Liu commented on ARROW-6219:
-------------------------------

I have thought about this before, for APIs accept sql, seems users could 
realize both limit row and field selection by sql. But for APIs accept 
ResultSet, need it be realized?

Or from another aspect, if user could prune, I think they could also specify 
the limit?

> [Java] Add API for JDBC adapter that can convert less then the full result 
> set at a time.
> -----------------------------------------------------------------------------------------
>
>                 Key: ARROW-6219
>                 URL: https://issues.apache.org/jira/browse/ARROW-6219
>             Project: Apache Arrow
>          Issue Type: Improvement
>          Components: Java
>            Reporter: Micah Kornfield
>            Assignee: Ji Liu
>            Priority: Major
>
> Somehow we should configure number of rows per batch and either let clients 
> iterate or provide an iterator API.  Otherwise for large result sets we might 
> run out of memory.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

Reply via email to