You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kudu.apache.org by da...@apache.org on 2017/10/23 19:31:34 UTC
kudu git commit: java: improve javadoc for setRangePartitionColumns
Repository: kudu
Updated Branches:
refs/heads/master 407f55327 -> ace9685dc
java: improve javadoc for setRangePartitionColumns
Adding clarification to setRangePartitionColumns documentation, stating
that if not set, by default the range will be partitioned by the primary
key columns, along with a single unbounded partition. Only when set to
an empty vector, will the table be created without range partition.
Change-Id: Icfa41aa26bf1961f27a08a42a8353098d04305b6
Reviewed-on: http://gerrit.cloudera.org:8080/8314
Tested-by: Kudu Jenkins
Reviewed-by: Dan Burkert <da...@apache.org>
Project: http://git-wip-us.apache.org/repos/asf/kudu/repo
Commit: http://git-wip-us.apache.org/repos/asf/kudu/commit/ace9685d
Tree: http://git-wip-us.apache.org/repos/asf/kudu/tree/ace9685d
Diff: http://git-wip-us.apache.org/repos/asf/kudu/diff/ace9685d
Branch: refs/heads/master
Commit: ace9685dc1fbda0e161c76f546b2e9892b4f7739
Parents: 407f553
Author: HectorCamarena <hc...@phdata.io>
Authored: Tue Oct 17 23:33:01 2017 -0500
Committer: Dan Burkert <da...@apache.org>
Committed: Mon Oct 23 19:31:14 2017 +0000
----------------------------------------------------------------------
.../main/java/org/apache/kudu/client/CreateTableOptions.java | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/kudu/blob/ace9685d/java/kudu-client/src/main/java/org/apache/kudu/client/CreateTableOptions.java
----------------------------------------------------------------------
diff --git a/java/kudu-client/src/main/java/org/apache/kudu/client/CreateTableOptions.java b/java/kudu-client/src/main/java/org/apache/kudu/client/CreateTableOptions.java
index e20368b..024b888 100644
--- a/java/kudu-client/src/main/java/org/apache/kudu/client/CreateTableOptions.java
+++ b/java/kudu-client/src/main/java/org/apache/kudu/client/CreateTableOptions.java
@@ -87,9 +87,10 @@ public class CreateTableOptions {
/**
* Set the columns on which the table will be range-partitioned.
*
- * Every column must be a part of the table's primary key. If not set or if
- * called with an empty vector, the table will be created without range
- * partitioning.
+ * Every column must be a part of the table's primary key. If not set,
+ * the table is range partitioned by the primary key columns with a single
+ * unbounded partition. If called with an empty vector, the table will be
+ * created without range partitioning.
*
* Tables must be created with either range, hash, or range and hash
* partitioning. To force the use of a single tablet (not recommended),