Skip to content
Snippets Groups Projects
  • Andrew Or's avatar
    66773eb8
    [SPARK-15012][SQL] Simplify configuration API further · 66773eb8
    Andrew Or authored
    ## What changes were proposed in this pull request?
    
    1. Remove all the `spark.setConf` etc. Just expose `spark.conf`
    2. Make `spark.conf` take in things set in the core `SparkConf` as well, otherwise users may get confused
    
    This was done for both the Python and Scala APIs.
    
    ## How was this patch tested?
    `SQLConfSuite`, python tests.
    
    This one fixes the failed tests in #12787
    
    Closes #12787
    
    Author: Andrew Or <andrew@databricks.com>
    Author: Yin Huai <yhuai@databricks.com>
    
    Closes #12798 from yhuai/conf-api.
    66773eb8
    History
    [SPARK-15012][SQL] Simplify configuration API further
    Andrew Or authored
    ## What changes were proposed in this pull request?
    
    1. Remove all the `spark.setConf` etc. Just expose `spark.conf`
    2. Make `spark.conf` take in things set in the core `SparkConf` as well, otherwise users may get confused
    
    This was done for both the Python and Scala APIs.
    
    ## How was this patch tested?
    `SQLConfSuite`, python tests.
    
    This one fixes the failed tests in #12787
    
    Closes #12787
    
    Author: Andrew Or <andrew@databricks.com>
    Author: Yin Huai <yhuai@databricks.com>
    
    Closes #12798 from yhuai/conf-api.