| 133 | } |
| 134 | |
| 135 | std::shared_ptr<geospatial::GeoStatistics> MakeColumnGeometryStats( |
| 136 | const format::ColumnMetaData& metadata, const ColumnDescriptor* descr) { |
| 137 | if (metadata.__isset.geospatial_statistics) { |
| 138 | geospatial::EncodedGeoStatistics encoded_geo_stats = |
| 139 | FromThrift(metadata.geospatial_statistics); |
| 140 | return std::make_shared<geospatial::GeoStatistics>(std::move(encoded_geo_stats)); |
| 141 | } else { |
| 142 | return nullptr; |
| 143 | } |
| 144 | } |
| 145 | |
| 146 | std::shared_ptr<Statistics> MakeColumnStats(const format::ColumnMetaData& meta_data, |
| 147 | const ColumnDescriptor* descr, |
no test coverage detected