| 734 | } |
| 735 | |
| 736 | static inline int64_t Int96GetMicroSeconds(const parquet::Int96& i96) { |
| 737 | const auto decoded = DecodeInt96Timestamp(i96); |
| 738 | uint64_t microseconds = decoded.nanoseconds / static_cast<uint64_t>(1000); |
| 739 | return static_cast<int64_t>(decoded.days_since_epoch * kMicrosecondsPerDay + |
| 740 | microseconds); |
| 741 | } |
| 742 | |
| 743 | static inline int64_t Int96GetMilliSeconds(const parquet::Int96& i96) { |
| 744 | const auto decoded = DecodeInt96Timestamp(i96); |
no test coverage detected