This is an automated email from the ASF dual-hosted git repository. zjffdu pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/zeppelin.git
The following commit(s) were added to refs/heads/master by this push: new b1d21e6 [hotfix] code style fix b1d21e6 is described below commit b1d21e6934b8c4bc6596cb26514264cd5e0741d9 Author: Jeff Zhang <zjf...@apache.org> AuthorDate: Sun Nov 29 20:21:03 2020 +0800 [hotfix] code style fix --- jdbc/src/main/java/org/apache/zeppelin/jdbc/hive/HiveUtils.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/jdbc/src/main/java/org/apache/zeppelin/jdbc/hive/HiveUtils.java b/jdbc/src/main/java/org/apache/zeppelin/jdbc/hive/HiveUtils.java index 026cbb8..16a242c 100644 --- a/jdbc/src/main/java/org/apache/zeppelin/jdbc/hive/HiveUtils.java +++ b/jdbc/src/main/java/org/apache/zeppelin/jdbc/hive/HiveUtils.java @@ -131,7 +131,7 @@ public class HiveUtils { // Sometimes, maybe hiveStmt was closed unnormally, hiveStmt.hasMoreLogs() will be true, // this loop cannot jump out, and exceptions thrown. // Add the below codes in case. - if(hiveStmt.isClosed()){ + if (hiveStmt.isClosed()){ break; } } catch (SQLException e) { @@ -148,7 +148,8 @@ public class HiveUtils { if (progressBar != null) { // old: hiveStmt.setInPlaceUpdateStream(progressBar.getInPlaceUpdateStream(context.out)); - // Move codes into ProgressBar to delay NoClassDefFoundError of InPlaceUpdateStream until ProgressBar instanced. + // Move codes into ProgressBar to delay NoClassDefFoundError of InPlaceUpdateStream + // until ProgressBar instanced. // When hive < 2.3, ProgressBar will not be instanced, so it works well. progressBar.setInPlaceUpdateStream(hiveStmt, context.out); }