You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hive.apache.org by ha...@apache.org on 2018/02/27 17:22:09 UTC
hive git commit: HIVE-18540 : remove logic for wide terminal to
display in-place updates (Song Jun via Anishek Agarwal)
Repository: hive
Updated Branches:
refs/heads/master ea53203f6 -> 5c29873ce
HIVE-18540 : remove logic for wide terminal to display in-place updates (Song Jun via Anishek Agarwal)
Signed-off-by: Ashutosh Chauhan <ha...@apache.org>
Project: http://git-wip-us.apache.org/repos/asf/hive/repo
Commit: http://git-wip-us.apache.org/repos/asf/hive/commit/5c29873c
Tree: http://git-wip-us.apache.org/repos/asf/hive/tree/5c29873c
Diff: http://git-wip-us.apache.org/repos/asf/hive/diff/5c29873c
Branch: refs/heads/master
Commit: 5c29873ce02e0a4717f1b01b76e8ca4b05a0515f
Parents: ea53203
Author: Song Jun <so...@gmail.com>
Authored: Thu Jan 25 05:05:00 2018 -0800
Committer: Ashutosh Chauhan <ha...@apache.org>
Committed: Tue Feb 27 09:21:25 2018 -0800
----------------------------------------------------------------------
.../src/java/org/apache/hadoop/hive/common/log/InPlaceUpdate.java | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/hive/blob/5c29873c/common/src/java/org/apache/hadoop/hive/common/log/InPlaceUpdate.java
----------------------------------------------------------------------
diff --git a/common/src/java/org/apache/hadoop/hive/common/log/InPlaceUpdate.java b/common/src/java/org/apache/hadoop/hive/common/log/InPlaceUpdate.java
index f7469fc..37cc12d 100644
--- a/common/src/java/org/apache/hadoop/hive/common/log/InPlaceUpdate.java
+++ b/common/src/java/org/apache/hadoop/hive/common/log/InPlaceUpdate.java
@@ -198,8 +198,7 @@ public class InPlaceUpdate {
inPlaceUpdates = HiveConf.getBoolVar(conf, HiveConf.ConfVars.SPARK_EXEC_INPLACE_PROGRESS);
}
- // we need at least 80 chars wide terminal to display in-place updates properly
- return inPlaceUpdates && isUnixTerminal() && TerminalFactory.get().getWidth() >= MIN_TERMINAL_WIDTH;
+ return inPlaceUpdates && isUnixTerminal();
}
private static boolean isUnixTerminal() {