olaky commented on code in PR #46280: URL: https://github.com/apache/spark/pull/46280#discussion_r1582837435
########## sql/api/src/main/scala/org/apache/spark/sql/types/DataType.scala: ########## @@ -251,13 +262,25 @@ object DataType { messageParameters = Map("invalidType" -> compact(render(other)))) } - private def parseStructField(json: JValue): StructField = json match { + /** + * This method is public so that the UC can reliably serialize and deserialize StructFields. Review Comment: UC? -- 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