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/04 07:51:38 UTC

[kudu-CR](branch-0.7.0) [python] - Allow to set a scanner to be fault tolerant

Hello Todd Lipcon,

I'd like you to do a code review.  Please visit

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

to review the following change.

Change subject: [python] - Allow to set a scanner to be fault tolerant
......................................................................

[python] - Allow to set a scanner to be fault tolerant

Making a scanner fault tolerant is useful in any case, but for cases
where hash partitioning is not being used, fault tolerance has the side
effect of also making the scanner return ordered results. This is a very
useful feature for timeseries use cases as it avoids an additional sort.

This just makes it so that it is possible make a python scanner fault
tolerant by calling the adequate method on the c++ client.

Change-Id: Iaf27778cde442f1da66e42abe8bd0f06e715dcd9
Reviewed-on: http://gerrit.cloudera.org:8080/1993
Tested-by: David Ribeiro Alves <da...@cloudera.com>
Reviewed-by: Todd Lipcon <to...@apache.org>
---
M python/kudu/client.pyx
M python/kudu/libkudu_client.pxd
M python/kudu/tests/test_scanner.py
3 files changed, 16 insertions(+), 1 deletion(-)


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Iaf27778cde442f1da66e42abe8bd0f06e715dcd9
Gerrit-PatchSet: 1
Gerrit-Project: kudu
Gerrit-Branch: branch-0.7.0
Gerrit-Owner: David Ribeiro Alves <da...@cloudera.com>
Gerrit-Reviewer: Todd Lipcon <to...@apache.org>