uros-b commented on code in PR #58614:
URL: https://github.com/apache/spark/pull/58614#discussion_r3966420187
##########
sql/catalyst/src/main/scala/org/apache/spark/sql/internal/SQLConf.scala:
##########
@@ -7016,6 +7016,19 @@ object SQLConf {
.booleanConf
.createWithDefault(true)
+ val AVRO_SCHEMA_URL_ALLOWED_SCHEMES =
+ buildConf("spark.sql.avro.schemaUrlAllowedSchemes")
+ .internal()
+ .doc("A comma-separated allowlist of URI schemes permitted for the
'avroSchemaUrl' Avro " +
+ "option. Empty by default, which permits any scheme and preserves the
previous behavior; " +
+ "when non-empty, an avroSchemaUrl whose scheme is not listed is
rejected before it is " +
+ "opened.")
+ .version("4.3.0")
Review Comment:
Ty!
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]