MCPcopy Create free account
hub / github.com/apache/arrow / MakeColumnGeometryStats

Function MakeColumnGeometryStats

cpp/src/parquet/metadata.cc:135–144  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

133}
134
135std::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
146std::shared_ptr<Statistics> MakeColumnStats(const format::ColumnMetaData& meta_data,
147 const ColumnDescriptor* descr,

Callers 1

is_geo_stats_setMethod · 0.85

Calls 1

FromThriftFunction · 0.85

Tested by

no test coverage detected