MashrafeeAryan commented on code in PR #1605:
URL: https://github.com/apache/arrow-go/pull/1605#discussion_r4789536959
##########
parquet/pqarrow/schema.go:
##########
@@ -1209,11 +1258,17 @@ func applyOriginalStorageMetadata(origin arrow.Field,
inferred *SchemaField) (mo
}
modified = origin.Type.ID() != inferred.Field.Type.ID()
- childModified, err := applyOriginalMetadata(arrow.Field{Type:
origin.Type.(arrow.ListLikeType).Elem()}, &inferred.Children[0])
+ originalElement := origin.Type.(arrow.ListLikeType).ElemField()
Review Comment:
I have added a test for it as well.
--
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]