dengzhhu653 commented on a change in pull request #1029:
URL: https://github.com/apache/hive/pull/1029#discussion_r435321340



##########
File path: jdbc/src/java/org/apache/hive/jdbc/HiveStatement.java
##########
@@ -198,9 +198,9 @@ private void closeStatementIfNeeded() throws SQLException {
     } catch (SQLException e) {
       throw e;
     } catch (TApplicationException tae) {
-      String errorMsg = tae.getMessage();
+      String errorMsg = "Failed to close statement";
       if (tae.getType() == TApplicationException.BAD_SEQUENCE_ID) {
-        errorMsg = "Mismatch thrift sequence id. A previous call to the Thrift 
library failed"
+        errorMsg += ". Mismatch thrift sequence id. A previous call to the 
Thrift library failed"

Review comment:
       Done. Thank you @belugabehr 




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: gitbox-unsubscr...@hive.apache.org
For additional commands, e-mail: gitbox-h...@hive.apache.org

Reply via email to