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

Julian Hyde commented on CALCITE-718:
-------------------------------------

It's important that not only do we produce the right results, but we do it with 
the right requests and responses going over the RPC layer.

I just added LoggingLocalJsonService and RequestLogger in 
https://github.com/julianhyde/incubator-calcite/tree/logging-json-service. If 
you run testPrepareBindExecuteFetch you should see it in action. Can you use 
that in your test and add some asserts that it is (for example) doing the right 
number of fetch requests.

> Enable fetch to work for Statement.execute()
> --------------------------------------------
>
>                 Key: CALCITE-718
>                 URL: https://issues.apache.org/jira/browse/CALCITE-718
>             Project: Calcite
>          Issue Type: Improvement
>            Reporter: Xavier FH Leong
>            Assignee: Julian Hyde
>            Priority: Minor
>              Labels: avatica
>
> Current Avatica Statement.execute() will build the complete result set before 
> sending back to client, enable fetch to send only max fetch rows.
> Reference discussion: CALCITE-712



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to