| 748 | } |
| 749 | |
| 750 | static inline int64_t Int96GetSeconds(const parquet::Int96& i96) { |
| 751 | const auto decoded = DecodeInt96Timestamp(i96); |
| 752 | uint64_t seconds = decoded.nanoseconds / static_cast<uint64_t>(1000000000); |
| 753 | return static_cast<int64_t>(decoded.days_since_epoch * kSecondsPerDay + seconds); |
| 754 | } |
| 755 | |
| 756 | static inline std::string Int96ToString(const Int96& a) { |
| 757 | std::ostringstream result; |
no test coverage detected