HyukjinKwon commented on code in PR #37516:
URL: https://github.com/apache/spark/pull/37516#discussion_r945413852
##########
core/src/main/scala/org/apache/spark/util/HadoopFSUtils.scala:
##########
@@ -187,10 +187,12 @@ private[spark] object HadoopFSUtils extends Logging {
// scalastyle:off argcount
/**
- * Lists a single filesystem path recursively. If a `SparkContext` object is
specified, this
- * function may launch Spark jobs to parallelize listing based on
`parallelismThreshold`.
+ * Lists a single filesystem path recursively.
+ *
+ * 1. If contextOpt is defined, this function may launch Spark jobs to
parallelize listing
+ * based on `parallelismThreshold`.
*
- * If sessionOpt is None, this may be called on executors.
+ * 2. If contextOpt is None, this may be called on executors.
Review Comment:
I don't think this makes the comments particulaily easier to read. The only
valid fix here is the parameter name which is super trivial.
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]