Kent Yao created SPARK-31234:
--------------------------------

             Summary: 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


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