[ 
https://issues.apache.org/jira/browse/SPARK-26598?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

wangtao93 updated SPARK-26598:
------------------------------
    Description: [https://github.com/apache/spark/pull/17886,] this pr provide 
that hiveserver2 support --haveconf  and --hivevar。But it set hiveconf and 
hivevar in every sql in class SparkSQLOperationManager,i think this is not 
suitable。So i make a little modify to set --hiveconf and --hivevar in class 
SparkSQLSessionManager, it will only run once in open HiveServer2 session, 
instead of ervery sql to init --hiveconf and --hivevar  (was: 
[https://github.com/apache/spark/pull/17886,] this pr provide that hiveserver2 
support --haveconf  and --hivevar。But it set hiveconf and hivevar in every sql 
in class SparkSQLOperationManager,i think this is not suitable。So i make a 
little modify to set --hiveconf and --hivevar in class SparkSQLSessionManager, 
it will only run once in open 

HiveServer2 session, instead of ervery sql to init --hiveconf and --hivevar)

> Fix HiveThriftServer2 set hiveconf and hivevar in every sql
> -----------------------------------------------------------
>
>                 Key: SPARK-26598
>                 URL: https://issues.apache.org/jira/browse/SPARK-26598
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 2.3.0, 2.4.0
>            Reporter: wangtao93
>            Priority: Major
>
> [https://github.com/apache/spark/pull/17886,] this pr provide that 
> hiveserver2 support --haveconf  and --hivevar。But it set hiveconf and hivevar 
> in every sql in class SparkSQLOperationManager,i think this is not 
> suitable。So i make a little modify to set --hiveconf and --hivevar in class 
> SparkSQLSessionManager, it will only run once in open HiveServer2 session, 
> instead of ervery sql to init --hiveconf and --hivevar



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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

Reply via email to