HyukjinKwon commented on a change in pull request #27174: [SPARK-30490][SQL]
Eliminate compiler warnings in Avro datasource
URL: https://github.com/apache/spark/pull/27174#discussion_r365571802
##########
File path:
external/avro/src/main/scala/org/apache/spark/sql/avro/AvroOptions.scala
##########
@@ -68,8 +68,10 @@ 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")
val ignoreExtension: Boolean = {
+ def warn(s: String): Unit = logWarning(
Review comment:
Why do we define a separate method?
----------------------------------------------------------------
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]