File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
core/src/main/scala/org/apache/spark/rdd Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -666,7 +666,7 @@ abstract class RDD[T: ClassTag](
666666 /**
667667 * Return an array that contains all of the elements in this RDD.
668668 */
669- @ deprecated
669+ @ deprecated( " use collect " , " 1.0.0 " )
670670 def toArray (): Array [T ] = collect()
671671
672672 /**
Original file line number Diff line number Diff line change @@ -26,13 +26,13 @@ import cern.jet.random.engine.DRand
2626
2727import org .apache .spark .{Partition , TaskContext }
2828
29- @ deprecated(" Replaced by PartitionwiseSampledRDDPartition" , " 1.0" )
29+ @ deprecated(" Replaced by PartitionwiseSampledRDDPartition" , " 1.0.0 " )
3030private [spark]
3131class SampledRDDPartition (val prev : Partition , val seed : Int ) extends Partition with Serializable {
3232 override val index : Int = prev.index
3333}
3434
35- @ deprecated(" Replaced by PartitionwiseSampledRDD" , " 1.0" )
35+ @ deprecated(" Replaced by PartitionwiseSampledRDD" , " 1.0.0 " )
3636class SampledRDD [T : ClassTag ](
3737 prev : RDD [T ],
3838 withReplacement : Boolean ,
You can’t perform that action at this time.
0 commit comments