Skip to content

Commit

Permalink
add @deprecated to pythonToJavaMap
Browse files Browse the repository at this point in the history
  • Loading branch information
davies committed Aug 1, 2014
1 parent 1e5b801 commit 61b2292
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -687,6 +687,7 @@ private[spark] object PythonRDD extends Logging {
* Convert an RDD of serialized Python dictionaries to Scala Maps (no recursive conversions).
* This function is outdated, PySpark does not use it anymore
*/
@deprecated
def pythonToJavaMap(pyRDD: JavaRDD[Array[Byte]]): JavaRDD[Map[String, _]] = {
pyRDD.rdd.mapPartitions { iter =>
val unpickle = new Unpickler
Expand Down

0 comments on commit 61b2292

Please sign in to comment.