kgyrtkirk commented on a change in pull request #1456: URL: https://github.com/apache/hive/pull/1456#discussion_r502273628
########## File path: jdbc/src/java/org/apache/hive/jdbc/HiveStatement.java ########## @@ -360,6 +360,9 @@ TGetOperationStatusResp waitForOperationToComplete() throws SQLException { // Poll on the operation status, till the operation is complete do { try { + if (Thread.currentThread().isInterrupted()) { + throw new SQLException("Interrupted while polling on the operation status", "70100"); Review comment: I think this error message and code should be placed in the `ErrorMsg` class ---------------------------------------------------------------- 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