You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hive.apache.org by pv...@apache.org on 2017/08/14 12:09:15 UTC

hive git commit: HIVE-17260: Typo: exception has been created and lost in the ThriftJDBCBinarySerDe (Oleg Danilov via Peter Vary)

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 <pv...@cloudera.com>
Authored: Mon Aug 14 14:04:28 2017 +0200
Committer: Peter Vary <pv...@cloudera.com>
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);
     }
   }