jrevels commented on issue #367:
URL: https://github.com/apache/arrow-julia/issues/367#issuecomment-1363982436

   narrowing down to the problem point:
   
   we can drill down `Arrow.Table(Arrow.tobuffer(t))` to a call to 
`toarrowvector(t.x)`, which then results in an invocation of `arrowvector`:
   
   xref 
https://github.com/apache/arrow-julia/blob/0c4793871d911e185cb6a9603e577a1f52f52a22/src/arraytypes/arraytypes.jl#L52-L69
   
   I think the bit where things start to derail is `ToArrow(x)`, which results 
in:
   
   ```jl
   julia> x = Arrow.ToArrow(t.x)
   1-element ArrowTypes.ToArrow{Missing, Vector{Union{Missing, ZonedDateTime}}}:
    missing
   
   julia> eltype(x)
   Missing
   ```
   
   So `S` ends up being `Missing`, the whole operation starts flowing down the 
`NullKind` path for serialization purposes, but `T` is `ZonedDateTime` and so 
`meta` reflects `ZonedDateTime`
   
   it seems to me like `ToArrow` should probably be returning something 
different here. I'll dive into that


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

Reply via email to