[
https://issues.apache.org/jira/browse/SPARK-31234?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Wenchen Fan resolved SPARK-31234.
---------------------------------
Fix Version/s: 3.0.0
Resolution: Fixed
Issue resolved by pull request 28003
[https://github.com/apache/spark/pull/28003]
> ResetCommand should not wipe out all configs
> --------------------------------------------
>
> Key: SPARK-31234
> URL: https://issues.apache.org/jira/browse/SPARK-31234
> Project: Spark
> Issue Type: Improvement
> Components: SQL
> Affects Versions: 3.1.0
> Reporter: Kent Yao
> Assignee: Kent Yao
> Priority: Major
> 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: [email protected]
For additional commands, e-mail: [email protected]