Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
comment out not implemented API in SparkContext
  • Loading branch information
davies committed Aug 11, 2014
commit f0158e4bb3db74e9c96035a2ebd6192ad256fc3e
14 changes: 6 additions & 8 deletions python/pyspark/context.py
Original file line number Diff line number Diff line change
Expand Up @@ -787,14 +787,12 @@ def runJob(self, rdd, partitionFunc, partitions=None, allowLocal=False):
it = self._jvm.PythonRDD.runJob(self._jsc.sc(), mappedRDD._jrdd, javaPartitions, allowLocal)
return list(mappedRDD._collect_iterator_through_file(it))

def runApproximateJob(self, rdd, func, evaluator, timeout):
"""
:: DeveloperApi ::
Run a job that can return approximate results.

Not implemented.
"""
raise NotImplementedError
# TODO
# def runApproximateJob(self, rdd, func, evaluator, timeout):
# """
# :: DeveloperApi ::
# Run a job that can return approximate results.
# """


def _test():
Expand Down