You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "zeroshade (via GitHub)" <gi...@apache.org> on 2025/07/28 14:26:48 UTC

Re: [I] Schema.Equal does not compare schema metadata, but does compare field metadata [arrow-go]

zeroshade commented on issue #454:
URL: https://github.com/apache/arrow-go/issues/454#issuecomment-3127493200

   > 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.)
   
   You can do:
   
   ```go
   if n, ok := dt.(arrow.NestedType); ok {
           for _, f := range n.Fields() {
   
           }
   }
   ```
   


-- 
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: github-unsubscribe@arrow.apache.org

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