MCPcopy Create free account
hub / github.com/apache/arrow / Int96GetMilliSeconds

Function Int96GetMilliSeconds

cpp/src/parquet/types.h:743–748  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

741}
742
743static inline int64_t Int96GetMilliSeconds(const parquet::Int96& i96) {
744 const auto decoded = DecodeInt96Timestamp(i96);
745 uint64_t milliseconds = decoded.nanoseconds / static_cast<uint64_t>(1000000);
746 return static_cast<int64_t>(decoded.days_since_epoch * kMillisecondsPerDay +
747 milliseconds);
748}
749
750static inline int64_t Int96GetSeconds(const parquet::Int96& i96) {
751 const auto decoded = DecodeInt96Timestamp(i96);

Callers 1

TransferInt96Function · 0.85

Calls 1

DecodeInt96TimestampFunction · 0.85

Tested by

no test coverage detected