beliefer opened a new pull request, #50021:
URL: https://github.com/apache/spark/pull/50021

   ### What changes were proposed in this pull request?
   This PR proposes to let SQLConf manage the default value for avro 
compression level.
   
   
   ### Why are the changes needed?
   Currently, the default value of `spark.sql.avro.deflate.level` is -1. But it 
managed with the enum `AvroCompressionCodec`.
   If developers use the config item in any other code path, there is no 
guarantee for the default value.
   On the other hand, users will confused, if there is no default value in 
`SQLConf`.
   
   
   ### Does this PR introduce _any_ user-facing change?
   'No'.
   New feature.
   
   
   ### How was this patch tested?
   GA.
   
   
   ### Was this patch authored or co-authored using generative AI tooling?
   'No'.
   


-- 
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.

To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to