You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@kyuubi.apache.org by GitBox <gi...@apache.org> on 2022/03/12 13:47:10 UTC
[GitHub] [incubator-kyuubi] cxzl25 commented on pull request #2113: [KYUUBI #2112] Improve the compatibility of queryTimeout in more version clients
cxzl25 commented on pull request #2113:
URL: https://github.com/apache/incubator-kyuubi/pull/2113#issuecomment-1065886296
When the client has no `TIMEOUT` enumeration value, isSetOperationState is always false, and the loop will not exit.
org.apache.hive.jdbc.HiveStatement#execute
```java
while (!operationComplete) {
if (statusResp.isSetOperationState()) {
switch (statusResp.getOperationState()) {
case XXX:
```
## Fix
![image](https://user-images.githubusercontent.com/3898450/158020340-f9ca578b-a170-4a7e-a28a-237525f94aa0.png)
--
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.
To unsubscribe, e-mail: notifications-unsubscribe@kyuubi.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@kyuubi.apache.org
For additional commands, e-mail: notifications-help@kyuubi.apache.org