Github user tdas commented on a diff in the pull request:
https://github.com/apache/spark/pull/16251#discussion_r92487038
--- Diff:
sql/core/src/main/scala/org/apache/spark/sql/execution/streaming/FileStreamOptions.scala
---
@@ -53,4 +53,15 @@ class FileStreamOptions(parameters: CaseInsensitiveMap)
extends Logging {
/** Options as specified by the user, in a case-insensitive map, without
"path" set. */
val optionMapWithoutPath: Map[String, String] =
parameters.filterKeys(_ != "path")
+
+ /** Whether to scan new files first. */
--- End diff --
Can you elaborate this comment further. In a trigger when it finds
unprocessed files, it will first process the latest file.
Also, isnt latest more common than newest?
---
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 [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]