mgrazianoc opened a new pull request, #46753:
URL: https://github.com/apache/arrow/pull/46753

   ### Rationale for this change
   
   Currently, the Swift implementation of Arrow does not support Timestamp, 
although they are available in the base C interface. This PR attempts to add 
its support by following the current implemented design pattern.
   
   ### What changes are included in this PR?
   
   1. `TimestampArray` with some basic formatting utilities
   2. `TimestampArrayBuilder`
   3. `Timestamp` alias
   4. `ArrowTimestampUnit`, which includes extensively all the variants 
(seconds, milliseconds, microseconds and nanoseconds)
   5. `ArrowTypeTimestamp` from base `Arrow`
   6. `ArrowNestedType` support for timestamp
   7. `ArrowWriterHelper` support for timestamp
   8. `fromProto` support for timestamp
   
   It properly handles the presence or absence of `timezone`.
   
   ### Are these changes tested?
   
   Tests are included in both `ArrayTests.swift` and `CDataTests.swift`.
   
   ### Are there any user-facing changes?
   
   Yes - users can now work with Timestamp data types in Swift Arrow 
implementations. This is additive and doesn't break existing functionality.


-- 
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-unsubscr...@arrow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to