Github user davies commented on a diff in the pull request:

    https://github.com/apache/spark/pull/12765#discussion_r61523630
  
    --- Diff: python/pyspark/sql/session.py ---
    @@ -121,6 +121,19 @@ def newSession(self):
             """
             return self.__class__(self._sc, self._jsparkSession.newSession())
     
    +    @property
    +    @since(2.0)
    +    def conf(self):
    +        """Runtime configuration interface for Spark.
    +
    +        This is the interface through which the user can get and set all 
Spark and Hadoop
    +        configurations that are relevant to Spark SQL. When getting the 
value of a config,
    +        this defaults to the value set in the underlying 
:class:`SparkContext`, if any.
    +        """
    +        if not hasattr(self, "_conf"):
    +            self._conf = RuntimeConfig(self._jsparkSession.conf())
    +        return self._conf
    +
         @since(2.0)
         def setConf(self, key, value):
    --- End diff --
    
    Since we removed the registerFunction, should we also remove this one?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

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

Reply via email to