zeroshade commented on issue #44: URL: https://github.com/apache/arrow-go/issues/44#issuecomment-5501426318
Closing this out as resolved by the `arreflect` package (`f63e2c65`), which shipped in v18.6.0: https://pkg.go.dev/github.com/apache/arrow-go/v18/arrow/array/arreflect `arreflect.InferSchema[T]` derives an Arrow schema from a Go struct, and `arreflect.RecordFromSlice` builds a record from a slice of those structs, which together cover the original request here — see the worked example in https://github.com/apache/arrow-go/issues/44#issuecomment-4838597790. @JayJamieson the codegen idea from the tail of this thread is still of interest — please open a separate issue or PR for it so it doesn't get lost behind a closed one. Thanks all for the discussion here. -- 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]
