Skip to content

Commit ca4ec8c

Browse files
zjffduCodingCat
authored andcommitted
Fix comment error
API is updated but its doc comment is not updated. Author: Jeff Zhang <zjffdu@apache.org> Closes apache#8097 from zjffdu/dev.
1 parent 81ba7ad commit ca4ec8c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/main/scala/org/apache/spark/SparkContext.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -866,7 +866,7 @@ class SparkContext(config: SparkConf) extends Logging with ExecutorAllocationCli
866866
* }}}
867867
*
868868
* Do
869-
* `val rdd = sparkContext.dataStreamFiles("hdfs://a-hdfs-path")`,
869+
* `val rdd = sparkContext.binaryFiles("hdfs://a-hdfs-path")`,
870870
*
871871
* then `rdd` contains
872872
* {{{

0 commit comments

Comments
 (0)