Adar Dembo has posted comments on this change. ( 
http://gerrit.cloudera.org:8080/12715 )

Change subject: [java] Make the KuduScanner iterable
......................................................................


Patch Set 1:

> > I assume the optimization is to prevent having 1 object per row result, so 
> > sharing the actual data isn't enough. If 1 object pre row isn't a problem 
> > this could be fixed.
>
> Yea, that's my suggestion above. Create one object per row, and make sure 
> that "next batch" also gets a new buffer (I think it already does?). Let's 
> make the default behavior "safe".

Could we benchmark this, to test our assumption about modern JVMs handling this 
more efficiently?


--
To view, visit http://gerrit.cloudera.org:8080/12715
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I3e4ac59e30d0562c0a381d5e304af1dcfdcf5a1a
Gerrit-Change-Number: 12715
Gerrit-PatchSet: 1
Gerrit-Owner: Grant Henke <[email protected]>
Gerrit-Reviewer: Adar Dembo <[email protected]>
Gerrit-Reviewer: Grant Henke <[email protected]>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Reviewer: Mike Percy <[email protected]>
Gerrit-Reviewer: Todd Lipcon <[email protected]>
Gerrit-Reviewer: Will Berkeley <[email protected]>
Gerrit-Comment-Date: Mon, 11 Mar 2019 18:07:06 +0000
Gerrit-HasComments: No

Reply via email to