kudu-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jdcry...@apache.org
Subject [3/3] incubator-kudu git commit: create-demo-table must specify partition columns
Date Mon, 13 Jun 2016 19:39:39 GMT
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 <adar@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 <mpercy@apache.org>
Authored: Fri Jun 10 16:14:05 2016 -0700
Committer: Jean-Daniel Cryans <jdcryans@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;


Mime
View raw message