Jun He has uploaded a new change for review.

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

Change subject: KUDU-1831. Java client does not check if the primary key 
columns are specified first
......................................................................

KUDU-1831. Java client does not check if the primary key columns
are specified first

This commit adds a check in Schema constructor to check if the
primary key columns are specified first. If not, it throws an
IllegalArgumentException.

Change-Id: I1ca2a572801c964331ed65c630db28436fcaf86a
---
M java/kudu-client/src/main/java/org/apache/kudu/Schema.java
A java/kudu-client/src/test/java/org/apache/kudu/TestSchema.java
2 files changed, 52 insertions(+), 0 deletions(-)


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I1ca2a572801c964331ed65c630db28436fcaf86a
Gerrit-PatchSet: 1
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-Owner: Jun He <junhe...@gmail.com>

Reply via email to