dongjoon-hyun commented on a change in pull request #31771:
URL: https://github.com/apache/spark/pull/31771#discussion_r590669532



##########
File path: 
external/avro/src/main/scala/org/apache/spark/sql/avro/functions.scala
##########
@@ -23,10 +23,13 @@ import org.apache.spark.annotation.Experimental
 import org.apache.spark.sql.Column
 
 
+
 // scalastyle:off: object.name
 object functions {
 // scalastyle:on: object.name
 
+  val schemaRegistryEndpoint = "%s/subjects/%s/versions/latest/schema"
+

Review comment:
       If I missed the context, sorry. But, why do we have this on the 
top-level of this `functions` object? I'd like to have this inside the function 
`from_avro` if this is used only once in that function.




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



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to