You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kudu.apache.org by "David Ribeiro Alves (Code Review)" <ge...@ip-10-146-233-104.ec2.internal> on 2016/02/05 21:42:07 UTC

[kudu-CR](branch-0.7.0) [python] - Allow to scan batch-by-batch

David Ribeiro Alves has uploaded a new change for review.

  http://gerrit.cloudera.org:8080/2074

Change subject: [python] - Allow to scan batch-by-batch
......................................................................

[python] - Allow to scan batch-by-batch

Currently the python client would only allow to read all the tuples
from the scan at once, which could easily cause oom issues.

This patch makes a couple of changes necessary to allow to scan batch-by-batch
and adds a test to make sure it works.

Change-Id: Ifced955be40943dc4ad648d90a24db98b27eed70
Reviewed-on: http://gerrit.cloudera.org:8080/2052
Reviewed-by: David Ribeiro Alves <da...@cloudera.com>
Tested-by: Kudu Jenkins
Reviewed-by: Todd Lipcon <to...@apache.org>
(cherry picked from commit 786834d1d4b4313535c2763db7022a25ce1e1dd0)
---
M python/kudu/client.pyx
M python/kudu/tests/test_scanner.py
2 files changed, 20 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/74/2074/1
-- 
To view, visit http://gerrit.cloudera.org:8080/2074
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ifced955be40943dc4ad648d90a24db98b27eed70
Gerrit-PatchSet: 1
Gerrit-Project: kudu
Gerrit-Branch: branch-0.7.0
Gerrit-Owner: David Ribeiro Alves <da...@cloudera.com>