zero323 commented on a change in pull request #29918:
URL: https://github.com/apache/spark/pull/29918#discussion_r498987884
##########
File path: python/pyspark/context.py
##########
@@ -956,6 +956,15 @@ def setCheckpointDir(self, dirName):
"""
self._jsc.sc().setCheckpointDir(dirName)
+ def getCheckpointDir(self):
Review comment:
That's because of circular dependency, right?
I think the only way to make it work is to move
https://github.com/apache/spark/blob/82721ce00b6cf535abd3d9cd66445e452554d15d/python/pyspark/__init__.py#L53
somewhere after `since` definition, for example here:
https://github.com/apache/spark/blob/82721ce00b6cf535abd3d9cd66445e452554d15d/python/pyspark/__init__.py#L116-L117
I am not sure if we want to go this way though.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]