Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id A46BC200CF0 for ; Thu, 7 Sep 2017 22:19:55 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id A2C21160C89; Thu, 7 Sep 2017 20:19:55 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id E76361609D0 for ; Thu, 7 Sep 2017 22:19:54 +0200 (CEST) Received: (qmail 35261 invoked by uid 500); 7 Sep 2017 20:19:54 -0000 Mailing-List: contact commits-help@kudu.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@kudu.apache.org Delivered-To: mailing list commits@kudu.apache.org Received: (qmail 35250 invoked by uid 99); 7 Sep 2017 20:19:54 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Sep 2017 20:19:54 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 6C04CF56CC; Thu, 7 Sep 2017 20:19:52 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: alexey@apache.org To: commits@kudu.apache.org Message-Id: <42bb745f8d52443c984657ed0f39a9cf@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: kudu git commit: Fix typo in partitioning error message Date: Thu, 7 Sep 2017 20:19:52 +0000 (UTC) archived-at: Thu, 07 Sep 2017 20:19:55 -0000 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 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 Authored: Thu Sep 7 09:16:06 2017 -0700 Committer: Alexey Serbin 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= 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);