Github user srowen commented on a diff in the pull request: https://github.com/apache/spark/pull/2765#discussion_r25066177 --- Diff: streaming/src/main/scala/org/apache/spark/streaming/dstream/FileInputDStream.scala --- @@ -34,8 +34,10 @@ import org.apache.spark.util.{TimeStampedHashMap, Utils} * This class represents an input stream that monitors a Hadoop-compatible filesystem for new * files and creates a stream out of them. The way it works as follows. * - * At each batch interval, the file system is queried for files in the given directory and - * detected new files are selected for that batch. In this case "new" means files that + * At each batch interval, Use `depth` to find files in the directory recursively, --- End diff -- This also needs rewording, it doesn't quite make sense. Maybe use similar text to what I suggested above.
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org