HyukjinKwon commented on code in PR #58614:
URL: https://github.com/apache/spark/pull/58614#discussion_r3962605631


##########
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:
   Yes, this is intentionally targeting 4.3.0 rather than 4.4.0. The rationale 
is being discussed on a private channel, so I can't share the details here per 
ASF policy -- happy to follow up offline. Thanks for checking.



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

Reply via email to