You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hive.apache.org by pr...@apache.org on 2015/05/12 03:24:18 UTC
[32/39] hive git commit: HIVE-10646 : ColumnValue does not handle
NULL_TYPE (Yongzhi Chen via Szehon)
HIVE-10646 : ColumnValue does not handle NULL_TYPE (Yongzhi Chen via Szehon)
Project: http://git-wip-us.apache.org/repos/asf/hive/repo
Commit: http://git-wip-us.apache.org/repos/asf/hive/commit/913229c1
Tree: http://git-wip-us.apache.org/repos/asf/hive/tree/913229c1
Diff: http://git-wip-us.apache.org/repos/asf/hive/diff/913229c1
Branch: refs/heads/llap
Commit: 913229c1b2ceb78e65e96533e983a2e1536911af
Parents: 1538a71
Author: Szehon Ho <sz...@cloudera.com>
Authored: Sun May 10 22:21:15 2015 -0500
Committer: Szehon Ho <sz...@cloudera.com>
Committed: Sun May 10 22:21:49 2015 -0500
----------------------------------------------------------------------
service/src/java/org/apache/hive/service/cli/ColumnValue.java | 2 ++
1 file changed, 2 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/hive/blob/913229c1/service/src/java/org/apache/hive/service/cli/ColumnValue.java
----------------------------------------------------------------------
diff --git a/service/src/java/org/apache/hive/service/cli/ColumnValue.java b/service/src/java/org/apache/hive/service/cli/ColumnValue.java
index 40144cf..662bd93 100644
--- a/service/src/java/org/apache/hive/service/cli/ColumnValue.java
+++ b/service/src/java/org/apache/hive/service/cli/ColumnValue.java
@@ -202,6 +202,8 @@ public class ColumnValue {
case UNION_TYPE:
case USER_DEFINED_TYPE:
return stringValue((String)value);
+ case NULL_TYPE:
+ return stringValue((String)value);
default:
return null;
}