You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "AnatolyRugalev (via GitHub)" <gi...@apache.org> on 2025/04/01 11:40:49 UTC

[PR] feat(nested): export StructType metadata [arrow-go]

AnatolyRugalev opened a new pull request, #340:
URL: https://github.com/apache/arrow-go/pull/340

   ### Rationale for this change
   
   `StructType` contains private `meta Metadata` field, which is not exported and only used in tests. Analogous to `Schema` and `Field` structs, I want to keep metadata of `StructType`, and it seems that it being not export is an oversight.
   
   ### What changes are included in this PR?
   
   * Add `StructType.Metadata` method
   * Add `StructOfWithMetadata` method
   * Rewire `StructOf` to call `StructOfWithMetadata` with empty metadata struct
   
   ### Are these changes tested?
   
   Yes
   
   ### Are there any user-facing changes?
   
   Yes


-- 
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


Re: [PR] feat(nested): export StructType metadata [arrow-go]

Posted by "AnatolyRugalev (via GitHub)" <gi...@apache.org>.
AnatolyRugalev commented on PR #340:
URL: https://github.com/apache/arrow-go/pull/340#issuecomment-2769095237

   I just realized that `struct` type is flatbuffers doesn't have metadata, so I will close this PR and try to figure out why that's the case. 


-- 
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


Re: [PR] feat(nested): export StructType metadata [arrow-go]

Posted by "AnatolyRugalev (via GitHub)" <gi...@apache.org>.
AnatolyRugalev closed pull request #340: feat(nested): export StructType metadata
URL: https://github.com/apache/arrow-go/pull/340


-- 
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