| 756 | } |
| 757 | |
| 758 | static inline int64_t Int96GetSeconds(const parquet::Int96& i96) { |
| 759 | const auto decoded = DecodeInt96Timestamp(i96); |
| 760 | uint64_t seconds = decoded.nanoseconds / static_cast<uint64_t>(1000000000); |
| 761 | return static_cast<int64_t>(decoded.days_since_epoch * kSecondsPerDay + seconds); |
| 762 | } |
| 763 | |
| 764 | static inline std::string Int96ToString(const Int96& a) { |
| 765 | std::ostringstream result; |
no test coverage detected