You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kyuubi.apache.org by ch...@apache.org on 2022/05/11 07:47:56 UTC

[incubator-kyuubi] branch master updated: [KYUUBI #2615] Add support HIVE_CLI_SERVICE_PROTOCOL_V11

This is an automated email from the ASF dual-hosted git repository.

chengpan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-kyuubi.git


The following commit(s) were added to refs/heads/master by this push:
     new 254715060 [KYUUBI #2615] Add support HIVE_CLI_SERVICE_PROTOCOL_V11
254715060 is described below

commit 254715060fb8ef3a31ba7738303ede5114a75b10
Author: gabrywu <ga...@apache.org>
AuthorDate: Wed May 11 15:47:47 2022 +0800

    [KYUUBI #2615] Add support HIVE_CLI_SERVICE_PROTOCOL_V11
    
    ### Why are the changes needed?
    
    close https://github.com/apache/incubator-kyuubi/issues/2615
    
    ### 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
    
    - [x] [Run test](https://kyuubi.apache.org/docs/latest/develop_tools/testing.html#running-tests) locally before make a pull request
    
    Closes #2627 from gabrywu/kyuubi2615.
    
    Closes #2615
    
    43ee1ae0 [gabrywu] add support HIVE_CLI_SERVICE_PROTOCOL_V11
    
    Authored-by: gabrywu <ga...@apache.org>
    Signed-off-by: Cheng Pan <ch...@apache.org>
---
 .../src/main/java/org/apache/kyuubi/jdbc/hive/KyuubiConnection.java      | 1 +
 1 file changed, 1 insertion(+)

diff --git a/kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/KyuubiConnection.java b/kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/KyuubiConnection.java
index 33e5b9e55..6183a14a0 100644
--- a/kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/KyuubiConnection.java
+++ b/kyuubi-hive-jdbc/src/main/java/org/apache/kyuubi/jdbc/hive/KyuubiConnection.java
@@ -173,6 +173,7 @@ public class KyuubiConnection implements java.sql.Connection, KyuubiLoggable {
     supportedProtocols.add(TProtocolVersion.HIVE_CLI_SERVICE_PROTOCOL_V8);
     supportedProtocols.add(TProtocolVersion.HIVE_CLI_SERVICE_PROTOCOL_V9);
     supportedProtocols.add(TProtocolVersion.HIVE_CLI_SERVICE_PROTOCOL_V10);
+    supportedProtocols.add(TProtocolVersion.HIVE_CLI_SERVICE_PROTOCOL_V11);
 
     if (isEmbeddedMode) {
       EmbeddedThriftBinaryCLIService embeddedClient = new EmbeddedThriftBinaryCLIService();