Author: xuefu
Date: Sun Sep 21 15:20:11 2014
New Revision: 1626593

URL: http://svn.apache.org/r1626593
Log:
HIVE-7647: Beeline does not honor --headerInterval and --color when executing 
with -e (Naveen via Xuefu)

Modified:
    hive/trunk/beeline/src/java/org/apache/hive/beeline/BeeLine.java

Modified: hive/trunk/beeline/src/java/org/apache/hive/beeline/BeeLine.java
URL: 
http://svn.apache.org/viewvc/hive/trunk/beeline/src/java/org/apache/hive/beeline/BeeLine.java?rev=1626593&r1=1626592&r2=1626593&view=diff
==============================================================================
--- hive/trunk/beeline/src/java/org/apache/hive/beeline/BeeLine.java (original)
+++ hive/trunk/beeline/src/java/org/apache/hive/beeline/BeeLine.java Sun Sep 21 
15:20:11 2014
@@ -692,10 +692,6 @@ public class BeeLine implements Closeabl
 
     int code = 0;
     if (!commands.isEmpty()) {
-      // for single command execute, disable color
-      getOpts().setColor(false);
-      getOpts().setHeaderInterval(-1);
-
       for (Iterator<String> i = commands.iterator(); i.hasNext();) {
         String command = i.next().toString();
         debug(loc("executing-command", command));


Reply via email to