HyukjinKwon 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_r364092114
##########
File path:
external/avro/src/main/scala/org/apache/spark/sql/avro/AvroOptions.scala
##########
@@ -59,14 +59,15 @@ class AvroOptions(
* If the option is not set, the Hadoop's config
`avro.mapred.ignore.inputs.without.extension`
* is taken into account. If the former one is not set too, file extensions
are ignored.
*/
+ @deprecated("Use the general data source option pathGlobFilter for filtering
file names", "3.0")
Review comment:
If you can find a better way, please go and open a PR (and some nits I
picked below)
----------------------------------------------------------------
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]