kudu-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ale...@apache.org
Subject kudu git commit: Fix typo in partitioning error message
Date Thu, 07 Sep 2017 20:19:52 GMT
Repository: kudu
Updated Branches:
  refs/heads/master 4935b1b29 -> 9af2046e6


Fix typo in partitioning error message

Change-Id: I5502956e7947a67dba3e68e5add529c7b9e26866
Reviewed-on: http://gerrit.cloudera.org:8080/7997
Tested-by: Kudu Jenkins
Reviewed-by: Alexey Serbin <aserbin@cloudera.com>


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

Branch: refs/heads/master
Commit: 9af2046e610156a9064c87976eec2b5a42e0693b
Parents: 4935b1b
Author: Dan Burkert <danburkert@apache.org>
Authored: Thu Sep 7 09:16:06 2017 -0700
Committer: Alexey Serbin <aserbin@cloudera.com>
Committed: Thu Sep 7 20:18:56 2017 +0000

----------------------------------------------------------------------
 src/kudu/common/partition.cc   | 2 +-
 src/kudu/master/master-test.cc | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/kudu/blob/9af2046e/src/kudu/common/partition.cc
----------------------------------------------------------------------
diff --git a/src/kudu/common/partition.cc b/src/kudu/common/partition.cc
index a09189b..b1388db 100644
--- a/src/kudu/common/partition.cc
+++ b/src/kudu/common/partition.cc
@@ -285,7 +285,7 @@ Status PartitionSchema::EncodeRangeBounds(const vector<pair<KuduPartialRow,
 
     if (!lower.empty() && !upper.empty() && lower >= upper) {
       return Status::InvalidArgument(
-          "range partition lower bound must be less than or equal to the upper bound",
+          "range partition lower bound must be less than the upper bound",
           RangePartitionDebugString(bound.first, bound.second));
     }
     range_partitions->emplace_back(std::move(lower), std::move(upper));

http://git-wip-us.apache.org/repos/asf/kudu/blob/9af2046e/src/kudu/master/master-test.cc
----------------------------------------------------------------------
diff --git a/src/kudu/master/master-test.cc b/src/kudu/master/master-test.cc
index 9a19400..7d35e00 100644
--- a/src/kudu/master/master-test.cc
+++ b/src/kudu/master/master-test.cc
@@ -602,7 +602,7 @@ TEST_F(MasterTest, TestCreateTableCheckRangeInvariants) {
     ASSERT_TRUE(s.IsInvalidArgument());
     ASSERT_STR_CONTAINS(s.ToString(),
                         "Invalid argument: range partition lower bound must be "
-                        "less than or equal to the upper bound");
+                        "less than the upper bound");
   }
   { // Lower bound equals upper bound.
     KuduPartialRow bound_lower(&kTableSchema);
@@ -614,7 +614,7 @@ TEST_F(MasterTest, TestCreateTableCheckRangeInvariants) {
     ASSERT_TRUE(s.IsInvalidArgument());
     ASSERT_STR_CONTAINS(s.ToString(),
                         "Invalid argument: range partition lower bound must be "
-                        "less than or equal to the upper bound");
+                        "less than the upper bound");
   }
   { // Split equals lower bound
     KuduPartialRow bound_lower(&kTableSchema);


Mime
View raw message