lidavidm opened a new issue, #454:
URL: https://github.com/apache/arrow-go/issues/454

   ### Describe the enhancement requested
   
   > Equal does not compare the metadata.
   
   
https://github.com/apache/arrow-go/blob/2900ed6f8ae27398d825b2fde2f67d77dcf780b4/arrow/schema.go#L225-L245
   
   But `Field.Equal` does compare the metadata:
   
   
https://github.com/apache/arrow-go/blob/2900ed6f8ae27398d825b2fde2f67d77dcf780b4/arrow/datatype_nested.go#L956-L968
   
   This is a little inconsistent. Ideally we would be able to choose how to 
compare. We could do the comparison ourselves but it's rather tedious, as we 
have to recurse into every type to find child fields. (Incidentally, if the 
DataType interface had a method to get the child fields (possibly empty) 
regardless of type, this would become much easier.) 
   
   ### Component(s)
   
   Other


-- 
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: issues-unsubscr...@arrow.apache.org.apache.org

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

Reply via email to