| 177 | |
| 178 | template <typename CType, typename StatisticsType> |
| 179 | Status MakeMinMaxTypedScalar(const StatisticsType& statistics, |
| 180 | std::shared_ptr<DataType> type, |
| 181 | std::shared_ptr<::arrow::Scalar>* min, |
| 182 | std::shared_ptr<::arrow::Scalar>* max) { |
| 183 | ARROW_ASSIGN_OR_RAISE(*min, ::arrow::MakeScalar(type, statistics.min())); |
| 184 | ARROW_ASSIGN_OR_RAISE(*max, ::arrow::MakeScalar(type, statistics.max())); |
| 185 | return Status::OK(); |
| 186 | } |
| 187 | |
| 188 | template <typename StatisticsType> |
| 189 | Status MakeMinMaxIntegralScalar(const StatisticsType& statistics, |
nothing calls this directly
no test coverage detected