[ 
https://issues.apache.org/jira/browse/SPARK-31234?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17087142#comment-17087142
 ] 

Xiao Li commented on SPARK-31234:
---------------------------------

I reopened the ticket and target it to Spark 2.4.6.

> ResetCommand should not wipe out all configs
> --------------------------------------------
>
>                 Key: SPARK-31234
>                 URL: https://issues.apache.org/jira/browse/SPARK-31234
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 3.1.0
>            Reporter: Kent Yao
>            Assignee: Kent Yao
>            Priority: Blocker
>             Fix For: 3.0.0
>
>
> Currently, ResetCommand clear all configurations, including sql configs, 
> static sql configs and spark context level configs.
> for example:
> ```
> spark-sql> set xyz=abc;
> xyz   abc
> spark-sql> set;
> spark.app.id  local-1585055396930
> spark.app.name        SparkSQL::10.242.189.214
> spark.driver.host     10.242.189.214
> spark.driver.port     65094
> spark.executor.id     driver
> spark.jars
> spark.master  local[*]
> spark.sql.catalogImplementation       hive
> spark.sql.hive.version        1.2.1
> spark.submit.deployMode       client
> xyz   abc
> spark-sql> reset;
> spark-sql> set;
> spark-sql> set spark.sql.hive.version;
> spark.sql.hive.version        1.2.1
> spark-sql> set spark.app.id;
> spark.app.id  <undefined>
> ```



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to