harshmotw-db commented on code in PR #48770:
URL: https://github.com/apache/spark/pull/48770#discussion_r1831616506
##########
sql/api/src/main/scala/org/apache/spark/sql/util/ArrowUtils.scala:
##########
@@ -146,19 +146,33 @@ private[sql] object ArrowUtils {
ArrowType.Struct.INSTANCE,
null,
Map("variant" -> "true").asJava)
+ val metadataFieldType = new FieldType(
Review Comment:
The line above should not have the variant tag. I have changed the design so
that the metadata field has the variant tag. This is because Python codepaths
don't have access to the top level field and metadata.
Thanks for catching.
--
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]