You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by "olaky (via GitHub)" <gi...@apache.org> on 2024/04/29 10:28:52 UTC

Re: [PR] [DRAFT] Store collation information in metadata and not in type for SER/DE [spark]

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-unsubscribe@spark.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org