Github user lw-lin commented on a diff in the pull request:
https://github.com/apache/spark/pull/17120#discussion_r104276335
--- Diff: docs/structured-streaming-programming-guide.md ---
@@ -1052,10 +1052,18 @@ Here are the details of all the sinks in Spark.
<td>Append</td>
<td>
<code>path</code>: path to the output directory, must be specified.
+ <br/>
<code>maxFilesPerTrigger</code>: maximum number of new files to be
considered in every trigger (default: no max)
<br/>
- <code>latestFirst</code>: whether to processs the latest new files
first, useful when there is a large backlog of files(default: false)
- <br/><br/>
+ <code>latestFirst</code>: whether to processs the latest new files
first, useful when there is a large backlog of files (default: false)
+ <br/>
+ <code>fileNameOnly</code>: whether to check new files based on
only the filename instead of on the full path (default: false). With this set
to `true`, the following files would be considered as the same file, because
their filenames, "dataset.txt", are the same:
+ <br/>
+ · "file:///dataset.txt"<br/>
+ · "s3://a/dataset.txt"<br/>
+ · "s3n://a/b/dataset.txt"<br/>
+ · "s3a://a/b/c/dataset.txt"<br/>
--- End diff --
the incidents of a `<li>` does not look pretty, so I'm using a dot here
---
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]