jackyhu-db opened a new pull request, #2948:
URL: https://github.com/apache/arrow-adbc/pull/2948

   # PR Description
   
   ## Description
   
   This PR adds property `ServerProtocolVersion` into `HiveServer2Connection` 
so that it can be used to check if a certain feature is supported by the server 
by checking its ServerProtocolVersion and only use this feature when 
ServerProtocolVersion meets the requirement.
   
   ### Changes
   - Added the `ServerProtocolVersion` in  `HiveServer2Connection`
   - Set `ServerProtocolVersion` with  the `ServerProtocolVersion` from 
`TOpenSessionResp` when opening session
   
   ### Motivation 
   
   `ServerProtocolVersion` can be used to check if a certain feature is 
supported by the server by checking its ServerProtocolVersion and only use this 
feature when ServerProtocolVersion meets the requirement.
   
   ### Testing
   
   - Verified `ServerProtocolVersion` was set after opening the connection


-- 
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: github-unsubscr...@arrow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to