Great! I will start experimenting and see how far I get.
While we're at it, should we consider putting something in the metadata field?
That would be more involved due to the bespoke format of the property, but it
might be a good time to consider any additional information that could be
useful to include in there.
–Marc
On 2021/02/20 04:19:14, Jorge Cardoso Leitão <[email protected]> wrote:
> No reason in particular: please go ahead!
>
> tips: anything that is to be deallocated when exporting must go to "private
> data" and deallocated by the extern "C" release bit, as we do in the
> DataType string. Think of that function as the "Drop" equivalent for ffi.
>
> Best,
> Jorge
>
>
> On Sat, Feb 20, 2021 at 4:24 AM Marc Prud'hommeaux <[email protected]>
> wrote:
>
> > When I export to the C data interface structs with array.to_raw(), I'm
> > seeing that FFI_ArrowSchema.name is always null. And looking at
> > ArrowArray::try_new, it appears that FFI_ArrowSchema is only ever created
> > with a format argument; name and metadata are never set to anything.
> >
> > Is there any specific reason why FFI_ArrowSchema.name is left unset? If
> > not, I'd like to take a shot at implementing it. Any implementation tips
> > would be welcome.
> >
> > –Marc
> >
> >
>