hive-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From omal...@apache.org
Subject [02/43] hive git commit: HIVE-12263 : Hive SchemaTool does not tolerate leading spaces in JDBC url (Chen Xin Yu via Ashutosh Chauhan)
Date Tue, 17 Nov 2015 20:19:13 GMT
HIVE-12263 : Hive SchemaTool does not tolerate leading spaces in JDBC url (Chen Xin Yu via
Ashutosh Chauhan)

Signed-off-by: Ashutosh Chauhan <hashutosh@apache.org>


Project: http://git-wip-us.apache.org/repos/asf/hive/repo
Commit: http://git-wip-us.apache.org/repos/asf/hive/commit/1a297a14
Tree: http://git-wip-us.apache.org/repos/asf/hive/tree/1a297a14
Diff: http://git-wip-us.apache.org/repos/asf/hive/diff/1a297a14

Branch: refs/heads/master-fixed
Commit: 1a297a1457335e13612148f0465dc1eb10607a54
Parents: c4abe2e
Author: Chen Xin Yu <qihanycx@126.com>
Authored: Sun Oct 25 20:19:00 2015 -0800
Committer: Owen O'Malley <omalley@apache.org>
Committed: Tue Nov 17 12:18:29 2015 -0800

----------------------------------------------------------------------
 beeline/src/java/org/apache/hive/beeline/HiveSchemaHelper.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hive/blob/1a297a14/beeline/src/java/org/apache/hive/beeline/HiveSchemaHelper.java
----------------------------------------------------------------------
diff --git a/beeline/src/java/org/apache/hive/beeline/HiveSchemaHelper.java b/beeline/src/java/org/apache/hive/beeline/HiveSchemaHelper.java
index 7e8cc67..181f0d2 100644
--- a/beeline/src/java/org/apache/hive/beeline/HiveSchemaHelper.java
+++ b/beeline/src/java/org/apache/hive/beeline/HiveSchemaHelper.java
@@ -86,7 +86,7 @@ public class HiveSchemaHelper {
     if (confVarStr == null || confVarStr.isEmpty()) {
       throw new IOException("Empty " + confVar.varname);
     }
-    return confVarStr;
+    return confVarStr.trim();
   }
 
   public interface NestedScriptParser {


Mime
View raw message