yx91490 created IMPALA-11992:
--------------------------------

             Summary: Support set query option by Hive JDBC
                 Key: IMPALA-11992
                 URL: https://issues.apache.org/jira/browse/IMPALA-11992
             Project: IMPALA
          Issue Type: Improvement
            Reporter: yx91490
            Assignee: yx91490


 

Hive JDBC support setting hive confs in Connection URL: 

 
{code:java}
jdbc:hive2://<host1>:<port1>/dbName;sess_var_list?hive_conf_list#hive_var_list 
{code}
it will add a "set:hiveconf:" prefix when request openSession: 
[https://github.com/apache/hive/blob/master/jdbc/src/java/org/apache/hive/jdbc/HiveConnection.java#L1110.]

But impala will directly set the configuration's key value pair to query 
option, without cut the prefix: 
[https://github.com/apache/impala/blob/4.2.0/be/src/service/impala-hs2-server.cc#L365]
 , we can modify this behavior to satisfy hive jdbc's expectation.

 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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

Reply via email to