Repository: incubator-zeppelin
Updated Branches:
  refs/heads/master 58b70e3bc -> 1df116fe4


Hive Interpreter: first column name is always prefixed with null

minor bugfix

Author: Ram Venkatesh <[email protected]>

Closes #35 from RamVenkatesh/ZEPPELIN-39 and squashes the following commits:

b6e8137 [Ram Venkatesh] Hive Interpreter: first column name is always prefixed 
with null


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

Branch: refs/heads/master
Commit: 1df116fe4a44fc5d3712817ea725a872d9d6402e
Parents: 58b70e3
Author: Ram Venkatesh <[email protected]>
Authored: Fri Apr 10 17:22:55 2015 -0700
Committer: Lee moon soo <[email protected]>
Committed: Wed Apr 15 06:52:58 2015 -0500

----------------------------------------------------------------------
 hive/src/main/java/org/apache/zeppelin/hive/HiveInterpreter.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-zeppelin/blob/1df116fe/hive/src/main/java/org/apache/zeppelin/hive/HiveInterpreter.java
----------------------------------------------------------------------
diff --git a/hive/src/main/java/org/apache/zeppelin/hive/HiveInterpreter.java 
b/hive/src/main/java/org/apache/zeppelin/hive/HiveInterpreter.java
index 5e7fc7d..9d5c9d7 100644
--- a/hive/src/main/java/org/apache/zeppelin/hive/HiveInterpreter.java
+++ b/hive/src/main/java/org/apache/zeppelin/hive/HiveInterpreter.java
@@ -120,7 +120,7 @@ public class HiveInterpreter extends Interpreter {
         msg = new StringBuilder();
       }
       else {
-        msg = new StringBuilder("%table " + msg);
+        msg = new StringBuilder("%table ");
       }
       ResultSet res = currentStatement.executeQuery(sql);
       try {

Reply via email to