[
https://issues.apache.org/jira/browse/IMPALA-11992?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
yx91490 updated IMPALA-11992:
-----------------------------
Summary: Support setting query options in JDBC's connection URL (was:
Support specify query options in JDBCConnection URL)
> Support setting query options in JDBC's connection URL
> ------------------------------------------------------
>
> Key: IMPALA-11992
> URL: https://issues.apache.org/jira/browse/IMPALA-11992
> Project: IMPALA
> Issue Type: Improvement
> Reporter: yx91490
> Assignee: yx91490
> Priority: Major
>
> 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 to the configuration key when request
> openSession:
> [https://github.com/apache/hive/blob/master/jdbc/src/java/org/apache/hive/jdbc/HiveConnection.java#L1110.]
> But impala will directly map the configuration's key value pair to query
> option, without cut the key's 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]