| 168 | |
| 169 | template <typename CType, typename StatisticsType> |
| 170 | Status MakeMinMaxScalar(const StatisticsType& statistics, |
| 171 | std::shared_ptr<::arrow::Scalar>* min, |
| 172 | std::shared_ptr<::arrow::Scalar>* max) { |
| 173 | *min = ::arrow::MakeScalar(static_cast<CType>(statistics.min())); |
| 174 | *max = ::arrow::MakeScalar(static_cast<CType>(statistics.max())); |
| 175 | return Status::OK(); |
| 176 | } |
| 177 | |
| 178 | template <typename CType, typename StatisticsType> |
| 179 | Status MakeMinMaxTypedScalar(const StatisticsType& statistics, |
nothing calls this directly
no test coverage detected