Repository: hive Updated Branches: refs/heads/master 3fe7e4420 -> 6441a8794
HIVE-11476: TypeInfoParser cannot handle column names with spaces in them (Gopal V, reviewed by Hari Sankar Sivarama Subramaniyan) Project: http://git-wip-us.apache.org/repos/asf/hive/repo Commit: http://git-wip-us.apache.org/repos/asf/hive/commit/6441a879 Tree: http://git-wip-us.apache.org/repos/asf/hive/tree/6441a879 Diff: http://git-wip-us.apache.org/repos/asf/hive/diff/6441a879 Branch: refs/heads/master Commit: 6441a8794b51183ae7c70488fad259566d7423e2 Parents: 3fe7e44 Author: Gopal V <gop...@apache.org> Authored: Thu Aug 6 23:02:13 2015 -0700 Committer: Gopal V <gop...@apache.org> Committed: Thu Aug 6 23:02:13 2015 -0700 ---------------------------------------------------------------------- .../java/org/apache/hadoop/hive/serde2/typeinfo/TypeInfoUtils.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hive/blob/6441a879/serde/src/java/org/apache/hadoop/hive/serde2/typeinfo/TypeInfoUtils.java ---------------------------------------------------------------------- diff --git a/serde/src/java/org/apache/hadoop/hive/serde2/typeinfo/TypeInfoUtils.java b/serde/src/java/org/apache/hadoop/hive/serde2/typeinfo/TypeInfoUtils.java index 4bef6c0..a4323d1 100644 --- a/serde/src/java/org/apache/hadoop/hive/serde2/typeinfo/TypeInfoUtils.java +++ b/serde/src/java/org/apache/hadoop/hive/serde2/typeinfo/TypeInfoUtils.java @@ -256,7 +256,7 @@ public final class TypeInfoUtils { }; private static boolean isTypeChar(char c) { - return Character.isLetterOrDigit(c) || c == '_' || c == '.'; + return Character.isLetterOrDigit(c) || c == '_' || c == '.' || c == ' '; } /**