You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by GitBox <gi...@apache.org> on 2021/12/02 05:15:44 UTC

[GitHub] [spark] HyukjinKwon edited a comment on pull request #34757: [SPARK-37504][PYTHON] Pyspark create SparkSession with existed session should not pass static conf

HyukjinKwon edited a comment on pull request #34757:
URL: https://github.com/apache/spark/pull/34757#issuecomment-984300594


   You can add `private[sql]` but instead you would have too access to the method a bit different way, something like:
   
   ```python
   getattr(getattr(session._jvm, "SparkSession$"), "MODULE$").applyModifiableSettings(...)
   ```
   
   You can check how to access this in Java first FWIW.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



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