| 749 | } |
| 750 | |
| 751 | static inline int64_t Int96GetMilliSeconds(const parquet::Int96& i96) { |
| 752 | const auto decoded = DecodeInt96Timestamp(i96); |
| 753 | uint64_t milliseconds = decoded.nanoseconds / static_cast<uint64_t>(1000000); |
| 754 | return static_cast<int64_t>(decoded.days_since_epoch * kMillisecondsPerDay + |
| 755 | milliseconds); |
| 756 | } |
| 757 | |
| 758 | static inline int64_t Int96GetSeconds(const parquet::Int96& i96) { |
| 759 | const auto decoded = DecodeInt96Timestamp(i96); |
no test coverage detected