gengliangwang commented on a change in pull request #24518: [SPARK-27627][SQL]
Make option "pathGlobFilter" as a general option for all file sources
URL: https://github.com/apache/spark/pull/24518#discussion_r281754860
##########
File path: python/pyspark/sql/readwriter.py
##########
@@ -120,6 +120,9 @@ def option(self, key, value):
* ``timeZone``: sets the string that indicates a timezone to be
used to parse timestamps
in the JSON/CSV datasources or partition values.
If it isn't set, it uses the default value, session local
timezone.
+ * ``pathGlobFilter``: an optional glob pattern to only include
files with paths matching
+ the pattern. The syntax follows
org.apache.hadoop.fs.GlobFilter.
+ It does not change the behavior of partition discovery.
Review comment:
I think the current one is OK, as the option is explained with examples in
document.
----------------------------------------------------------------
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]