-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
GH-44679: [C++][Python] Fix Flight Timestamp precision, revert workar…
…ound from #43537 (#44681) ### What changes are included in this PR? Make `arrow.flight.Timestamp` nanoseconds precision and OS-independent. Use the `CTimePoint` for `FlightEndpoint.expiration_time` to have OS-independent nanoseconds precision. https://github.com/apache/arrow/blob/093655c60783321c786a8e69632f185d37520f4d/python/pyarrow/includes/libarrow_flight.pxd#L133-L139 This reverts workaround for `expiration_time` from #43537. ### Are these changes tested? Existing unit tests are adjusted to the new precision. ### Are there any user-facing changes? **This PR includes breaking changes to public APIs.** The values of `FlightEndpoint.expiration_time` now have nanoseconds precision on any operating system. * GitHub Issue: #44679 Authored-by: Enrico Minack <[email protected]> Signed-off-by: David Li <[email protected]>
- Loading branch information
Showing
8 changed files
with
16 additions
and
79 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters