You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kudu.apache.org by jd...@apache.org on 2016/06/13 19:39:39 UTC

[3/3] incubator-kudu git commit: create-demo-table must specify partition columns

create-demo-table must specify partition columns

This is a recent API change that didn't make it into this dev tool.

Change-Id: I894214bbd9f8198909344c249780711058d5398d
Reviewed-on: http://gerrit.cloudera.org:8080/3368
Reviewed-by: Adar Dembo <ad...@cloudera.com>
Tested-by: Kudu Jenkins


Project: http://git-wip-us.apache.org/repos/asf/incubator-kudu/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-kudu/commit/1ead6815
Tree: http://git-wip-us.apache.org/repos/asf/incubator-kudu/tree/1ead6815
Diff: http://git-wip-us.apache.org/repos/asf/incubator-kudu/diff/1ead6815

Branch: refs/heads/master
Commit: 1ead68156e455d9102ea7029fdeb16829bc8dbe1
Parents: db93ff6
Author: Mike Percy <mp...@apache.org>
Authored: Fri Jun 10 16:14:05 2016 -0700
Committer: Jean-Daniel Cryans <jd...@gerrit.cloudera.org>
Committed: Mon Jun 13 18:01:52 2016 +0000

----------------------------------------------------------------------
 src/kudu/tools/create-demo-table.cc | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-kudu/blob/1ead6815/src/kudu/tools/create-demo-table.cc
----------------------------------------------------------------------
diff --git a/src/kudu/tools/create-demo-table.cc b/src/kudu/tools/create-demo-table.cc
index a6c50e0..4b03462 100644
--- a/src/kudu/tools/create-demo-table.cc
+++ b/src/kudu/tools/create-demo-table.cc
@@ -111,6 +111,7 @@ static int CreateDemoTable(int argc, char** argv) {
   gscoped_ptr<KuduTableCreator> table_creator(client->NewTableCreator());
   CHECK_OK(table_creator->table_name(table_name)
            .schema(&schema)
+           .set_range_partition_columns({})
            .num_replicas(FLAGS_num_replicas)
            .Create());
   return 0;