Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[KYUUBI #6787] Improve the compatibility of queryTimeout in more vers…
…ion clients # 🔍 Description ## Issue References 🔗 This pull request fixes #2112 ## Describe Your Solution 🔧 Similar to #2113, the query-timeout-thread should verify the Thrift protocol version. For protocol versions <= HIVE_CLI_SERVICE_PROTOCOL_V8, it should convert TIMEDOUT_STATE to CANCELED. ## Types of changes 🔖 - [ ] Bugfix (non-breaking change which fixes an issue) - [ ] New feature (non-breaking change which adds functionality) - [ ] Breaking change (fix or feature that would cause existing functionality to change) ## Test Plan 🧪 #### Behavior Without This Pull Request ⚰️ #### Behavior With This Pull Request 🎉 #### Related Unit Tests --- # Checklist 📝 - [ ] This patch was not authored or co-authored using [Generative Tooling](https://www.apache.org/legal/generative-tooling.html) **Be nice. Be informative.** Closes #6787 from lsm1/branch-timer-checker-set-cancel. Closes #6787 9fbe1ac [senmiaoliu] add isHive21OrLower method 0c77c6f [senmiaoliu] time checker set cancel state Authored-by: senmiaoliu <[email protected]> Signed-off-by: senmiaoliu <[email protected]>
- Loading branch information