From b73e6f981b5e89aebacc1a5a6f828a916263868f Mon Sep 17 00:00:00 2001 From: Enrico Minack Date: Fri, 8 Nov 2024 09:56:07 +0100 Subject: [PATCH] Make arrow.flight.Timestamp truely nanoseconds precision --- cpp/src/arrow/flight/types.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cpp/src/arrow/flight/types.h b/cpp/src/arrow/flight/types.h index b6309d0af2a71..8b612bd55ce91 100644 --- a/cpp/src/arrow/flight/types.h +++ b/cpp/src/arrow/flight/types.h @@ -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; /// \brief A Flight-specific status code. Used to encode some /// additional status codes into an Arrow Status.