Github user viirya commented on a diff in the pull request:
https://github.com/apache/spark/pull/21648#discussion_r199379854
--- 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 --
> Maybe we should add more comments to explain this? AFAIC its more natural
than get conf in hard code config key.
Yeah, I think this is good idea.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]