You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
### 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. `ArrowType` 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.
Closes#32.
---------
Co-authored-by: Marco <[email protected]>
Co-authored-by: Sutou Kouhei <[email protected]>
0 commit comments