spark-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From HyukjinKwon <...@git.apache.org>
Subject [GitHub] spark pull request #21648: [SPARK-24665][PySpark] Use SQLConf in PySpark to ...
Date Mon, 02 Jul 2018 03:47:56 GMT
Github user HyukjinKwon commented on a diff in the pull request:

    https://github.com/apache/spark/pull/21648#discussion_r199379979
  
    --- Diff: python/pyspark/sql/context.py ---
    @@ -93,6 +93,11 @@ def _ssql_ctx(self):
             """
             return self._jsqlContext
     
    +    @property
    +    def _conf(self):
    +        """Accessor for the JVM SQL-specific configurations"""
    +        return self.sparkSession._jsparkSession.sessionState().conf()
    --- End diff --
    
    This one should be considered as an internal API only to use it to reduce the hardcoded
ones and the leading underscore implies it. I think we are fine with it.


---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


Mime
View raw message