Todd Lipcon has submitted this change and it was merged.

Change subject: KUDU-1713: add a client Partitioner API
......................................................................


KUDU-1713: add a client Partitioner API

This adds an API which a client can use to determine which partition a
row falls into without actually writing that row. This is intended to be
used by Impala when writing into Kudu: Impala can pre-shuffle and
pre-sort the data being written so as to present a more efficient write
pattern to the Kudu tablets.

The corresponding Impala patch to use this API is at:
https://gerrit.cloudera.org/#/c/6559/

Change-Id: Ic08a078c75f15ef4200219b5260cfb99d79b72cc
Reviewed-on: http://gerrit.cloudera.org:8080/5775
Reviewed-by: Adar Dembo <[email protected]>
Tested-by: Kudu Jenkins
---
M src/kudu/client/CMakeLists.txt
M src/kudu/client/client-test.cc
M src/kudu/client/client.cc
M src/kudu/client/client.h
A src/kudu/client/partitioner-internal.cc
A src/kudu/client/partitioner-internal.h
6 files changed, 391 insertions(+), 0 deletions(-)

Approvals:
  Adar Dembo: Looks good to me, approved
  Kudu Jenkins: Verified



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

Gerrit-MessageType: merged
Gerrit-Change-Id: Ic08a078c75f15ef4200219b5260cfb99d79b72cc
Gerrit-PatchSet: 6
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-Owner: Todd Lipcon <[email protected]>
Gerrit-Reviewer: Adar Dembo <[email protected]>
Gerrit-Reviewer: Kudu Jenkins
Gerrit-Reviewer: Matthew Jacobs <[email protected]>
Gerrit-Reviewer: Thomas Tauber-Marshall <[email protected]>
Gerrit-Reviewer: Tidy Bot
Gerrit-Reviewer: Todd Lipcon <[email protected]>

Reply via email to