Github user zsxwing commented on a diff in the pull request:
https://github.com/apache/spark/pull/16468#discussion_r94698982
--- Diff: docs/structured-streaming-programming-guide.md ---
@@ -433,6 +433,51 @@ In Spark 2.0, there are a few built-in sources.
- **Socket source (for testing)** - Reads UTF8 text data from a socket
connection. The listening server socket is at the driver. Note that this should
be used only for testing as this does not provide end-to-end fault-tolerance
guarantees.
+Here are all the source details.
+
+<table class="table">
+ <tr>
+ <th>Source</th>
+ <th>Options</th>
+ <th>Fault-tolerant</th>
+ <th>Notes</th>
+ </tr>
+ <tr>
+ <td><b>File source</b></td>
+ <td>
+ <code>path</code>: path to the input directory, and common to all
file formats.
+ <br/><br/>
+ For file-format-specific options, see the related methods in
<code>DataStreamReader</code>
+ (<a
href="api/scala/index.html#org.apache.spark.sql.streaming.DataStreamReader">Scala</a>/<a
href="api/java/org/apache/spark/sql/streaming/DataStreamReader.html">Java</a>/<a
href="api/python/pyspark.sql.html#pyspark.sql.streaming.DataStreamReader">Python</a>).
+ E.g. for "parquet" format options see
<code>DataStreamReader.parquet()</code></td>
+ <td>Yes</td>
+ <td>Supports regular expressions, but does not support multiple
comma-separated paths/expressions.</td>
--- End diff --
nit: `regular expressions` -> `glob paths`
---
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]