Skip to content

Commit

Permalink
Make arrow.flight.Timestamp truely nanoseconds precision
Browse files Browse the repository at this point in the history
  • Loading branch information
EnricoMi committed Nov 8, 2024
1 parent b193c4f commit b73e6f9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cpp/src/arrow/flight/types.h
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,8 @@ class FlightServerBase;
/// > all minutes are 60 seconds long, i.e. leap seconds are "smeared"
/// > so that no leap second table is needed for interpretation. Range
/// > is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z.
using Timestamp = std::chrono::system_clock::time_point;
using Timestamp =
std::chrono::time_point<std::chrono::system_clock, std::chrono::nanoseconds>;

/// \brief A Flight-specific status code. Used to encode some
/// additional status codes into an Arrow Status.
Expand Down

0 comments on commit b73e6f9

Please sign in to comment.