HyukjinKwon commented on a change in pull request #24518:
[WIP][SPARK-27627][SQL] Make option "pathGlobFilter" as a general option for
all file sources
URL: https://github.com/apache/spark/pull/24518#discussion_r281148778
##########
File path:
sql/core/src/main/scala/org/apache/spark/sql/streaming/DataStreamReader.scala
##########
@@ -136,6 +142,9 @@ final class DataStreamReader private[sql](sparkSession:
SparkSession) extends Lo
* <ul>
* <li>`timeZone` (default session local timezone): sets the string that
indicates a timezone
* to be used to parse timestamps in the JSON/CSV data sources or partition
values.</li>
+ * <li>`pathGlobFilter`: an optional glob pattern to only include files with
paths matching
+ * the pattern. The syntax follows
<code>org.apache.hadoop.fs.GlobFilter</code>.
+ * It does not change the behavior of partition discovery.</li>
Review comment:
(don't forget to update `readwriter.py` too later ..)
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]