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:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]