f-forcher-natzka commented on issue #303:
URL: https://github.com/apache/arrow-julia/issues/303#issuecomment-1066925143
In terms of actual raw numbers, Arrow Date specification is the number of
days since 1970, while Julia Date seems to be the number of days since 1 AD. So
they are indeed different. When I read from a table like this
`t=Arrow.Table("data/flat2.arrow", convert=false)`
I do get `Arrow.Date{Arrow.Flatbuf.DateUnitModule.DAY, Int32}` as the
datatype indeed.
However it appears that there is no similar `convert` flag when writing this
same table with Arrow.write, as I still get the same error reading it in Rust
`Cannot create polars series from Extension("JuliaLang.Date", Date32, Some(""))
type`. I think we should have a way to serialize in the original Arrow format
and not use custom types, in this 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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]