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 E5EEA20049B for ; Mon, 14 Aug 2017 14:09:18 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id E46F8164EBB; Mon, 14 Aug 2017 12:09:18 +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 351E7164E5E for ; Mon, 14 Aug 2017 14:09:18 +0200 (CEST) Received: (qmail 71643 invoked by uid 500); 14 Aug 2017 12:09:16 -0000 Mailing-List: contact commits-help@hive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hive-dev@hive.apache.org Delivered-To: mailing list commits@hive.apache.org Received: (qmail 71632 invoked by uid 99); 14 Aug 2017 12:09:15 -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; Mon, 14 Aug 2017 12:09:15 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id ADACFDFAFF; Mon, 14 Aug 2017 12:09:15 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: pvary@apache.org To: commits@hive.apache.org Message-Id: <2726bf37968c48249dea29636c06463d@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: hive git commit: HIVE-17260: Typo: exception has been created and lost in the ThriftJDBCBinarySerDe (Oleg Danilov via Peter Vary) Date: Mon, 14 Aug 2017 12:09:15 +0000 (UTC) archived-at: Mon, 14 Aug 2017 12:09:19 -0000 Repository: hive Updated Branches: refs/heads/master 4d931436e -> 4f042cc46 HIVE-17260: Typo: exception has been created and lost in the ThriftJDBCBinarySerDe (Oleg Danilov via Peter Vary) Project: http://git-wip-us.apache.org/repos/asf/hive/repo Commit: http://git-wip-us.apache.org/repos/asf/hive/commit/4f042cc4 Tree: http://git-wip-us.apache.org/repos/asf/hive/tree/4f042cc4 Diff: http://git-wip-us.apache.org/repos/asf/hive/diff/4f042cc4 Branch: refs/heads/master Commit: 4f042cc46d33e0434fcbfd84d7752e8578fbdabc Parents: 4d93143 Author: Peter Vary Authored: Mon Aug 14 14:04:28 2017 +0200 Committer: Peter Vary Committed: Mon Aug 14 14:05:50 2017 +0200 ---------------------------------------------------------------------- .../apache/hadoop/hive/serde2/thrift/ThriftJDBCBinarySerDe.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hive/blob/4f042cc4/serde/src/java/org/apache/hadoop/hive/serde2/thrift/ThriftJDBCBinarySerDe.java ---------------------------------------------------------------------- diff --git a/serde/src/java/org/apache/hadoop/hive/serde2/thrift/ThriftJDBCBinarySerDe.java b/serde/src/java/org/apache/hadoop/hive/serde2/thrift/ThriftJDBCBinarySerDe.java index 16cc916..e78e184 100644 --- a/serde/src/java/org/apache/hadoop/hive/serde2/thrift/ThriftJDBCBinarySerDe.java +++ b/serde/src/java/org/apache/hadoop/hive/serde2/thrift/ThriftJDBCBinarySerDe.java @@ -97,7 +97,7 @@ public class ThriftJDBCBinarySerDe extends AbstractSerDe { try { thriftFormatter.initialize(conf, tbl); } catch (Exception e) { - new SerDeException(e); + throw new SerDeException(e); } }