MaxGekk opened a new pull request #27174: [SPARK-30490][SQL] Eliminate compiler warnings in Avro datasource URL: https://github.com/apache/spark/pull/27174 ### What changes were proposed in this pull request? - Remove the `@deprecated` annotation for `AvroOptions. ignoreExtension` - Output log warning if `avro.mapred.ignore.inputs.without.extension` is set to non-default value - `true` - Output log warning if avro option `ignoreExtension` is set to non-default value - `true` ### Why are the changes needed? 1. Currently, the compiler output deprecation warning only during compilation of Spark source code but not user apps because `AvroOptions.ignoreExtension` is not used by users directly. In this ways, users are not aware of deprecated Hadoop's conf and avro option. 2. Elimination of unnecessary warnings highlights other warnings that can indicate about real problems. ### Does this PR introduce any user-facing change? Yes ### How was this patch tested? By `AvroSuite`
---------------------------------------------------------------- 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: us...@infra.apache.org With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org