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

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

Reply via email to