You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "visr (via GitHub)" <gi...@apache.org> on 2023/02/14 14:03:36 UTC

[GitHub] [arrow-julia] visr commented on issue #303: Question on `Date` encoding

visr commented on issue #303:
URL: https://github.com/apache/arrow-julia/issues/303#issuecomment-1429797088

   > Presumably this bypasses the normal encoding interface mentioned above.
   
   Indeed it does. Here is a slightly simplified conversion example, including one for DateTime:
   
   ```julia
   using Arrow, Dates
   convert(Arrow.DATE, today())  # -> Arrow.Date{Arrow.Flatbuf.DateUnits.DAY, Int32}(19402)
   convert(Arrow.DATETIME, now())  # -> Arrow.Timestamp{Arrow.Flatbuf.TimeUnits.MILLISECOND, nothing}(1676386953375)
   ```
   


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