Wenzhe Zhou has uploaded this change for review. ( http://gerrit.cloudera.org:8080/19384
Change subject: KUDU-1945: Support non unique primary key for Java client ...................................................................... KUDU-1945: Support non unique primary key for Java client This patch adds new APIs to create ColumnSchema with non unique primary key for Java client. When a table with non unique primary key is created, Auto-Incrementing Column "auto_increment_id" will be added automatically to the table as the last key column. Testing: - Manually ran integration test with Impala for creating table with non unique primary key, ran tests for operations: insert/update/delete for non unique primary key. - TODO add unit-test Change-Id: I7e2501d6b3d66f6466959e4f3f1ed0f5e08dfe5c --- M java/kudu-client/src/main/java/org/apache/kudu/ColumnSchema.java M java/kudu-client/src/main/java/org/apache/kudu/Schema.java M java/kudu-client/src/main/java/org/apache/kudu/Type.java M java/kudu-client/src/main/java/org/apache/kudu/client/AsyncKuduClient.java M java/kudu-client/src/main/java/org/apache/kudu/client/AsyncKuduScanner.java M java/kudu-client/src/main/java/org/apache/kudu/client/ProtobufHelper.java 6 files changed, 176 insertions(+), 17 deletions(-) git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/84/19384/1 -- To view, visit http://gerrit.cloudera.org:8080/19384 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: kudu Gerrit-Branch: master Gerrit-MessageType: newchange Gerrit-Change-Id: I7e2501d6b3d66f6466959e4f3f1ed0f5e08dfe5c Gerrit-Change-Number: 19384 Gerrit-PatchSet: 1 Gerrit-Owner: Wenzhe Zhou <[email protected]>
