-
- Downloads
[SPARK-20946][SQL] simplify the config setting logic in SparkSession.getOrCreate
## What changes were proposed in this pull request? The current conf setting logic is a little complex and has duplication, this PR simplifies it. ## How was this patch tested? existing tests. Author: Wenchen Fan <wenchen@databricks.com> Closes #18172 from cloud-fan/session.
Showing
- mllib/src/test/scala/org/apache/spark/ml/recommendation/ALSSuite.scala 1 addition, 3 deletions...t/scala/org/apache/spark/ml/recommendation/ALSSuite.scala
- mllib/src/test/scala/org/apache/spark/ml/tree/impl/TreeTests.scala 0 additions, 2 deletions.../test/scala/org/apache/spark/ml/tree/impl/TreeTests.scala
- sql/core/src/main/scala/org/apache/spark/sql/SparkSession.scala 9 additions, 16 deletions...re/src/main/scala/org/apache/spark/sql/SparkSession.scala
Loading
Please register or sign in to comment