cxzl25 opened a new pull request #2113:
URL: https://github.com/apache/incubator-kyuubi/pull/2113


   ### _Why are the changes needed?_
   https://github.com/apache/incubator-kyuubi/issues/2112
   
   Clients less than version 2.1 have no 
[HIVE-4924](https://issues.apache.org/jira/browse/HIVE-4924) Patch, no 
queryTimeout parameter and no TIMEOUT status. When the server enables 
kyuubi.operation.query.timeout, this will cause the client of the lower version 
to get stuck.
   
   Introduce a parameter, when it is turned on, no matter what the version of 
the client is, the queryTimeout parameter is not set, and the TIMEOUT state is 
converted to CANCELED. If queryTimeout is set, the TIMEOUT state is still 
maintained.
   
   ### _How was this patch tested?_
   - [ ] Add some test cases that check the changes thoroughly including 
negative and positive cases if possible
   
   - [ ] Add screenshots for manual tests if appropriate
   
   - [ ] [Run 
test](https://kyuubi.apache.org/docs/latest/develop_tools/testing.html#running-tests)
 locally before make a pull request
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to