cloud-fan commented on a change in pull request #29476:
URL: https://github.com/apache/spark/pull/29476#discussion_r473791927
##########
File path:
external/avro/src/main/scala/org/apache/spark/sql/avro/SchemaConverters.scala
##########
@@ -37,16 +38,25 @@ object SchemaConverters {
private lazy val nullSchema = Schema.create(Schema.Type.NULL)
+ /**
+ * Internal wrapper for SQL data type and nullability.
+ *
+ * @since 2.4
+ */
+ @DeveloperApi
case class SchemaType(dataType: DataType, nullable: Boolean)
/**
- * This function takes an avro schema and returns a sql schema.
+ * Converts an Avro schema to a corresponding Spark SQL schema.
+ *
+ * @since 2.4
*/
+ @DeveloperApi
Review comment:
I think so. We just need to mark the object.
----------------------------------------------------------------
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]