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

Method RowGroup

cpp/src/parquet/file_reader.cc:889–897  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

887}
888
889std::shared_ptr<RowGroupReader> ParquetFileReader::RowGroup(int i) {
890 if (i >= metadata()->num_row_groups()) {
891 std::stringstream ss;
892 ss << "Trying to read row group " << i << " but file only has "
893 << metadata()->num_row_groups() << " row groups";
894 throw ParquetException(ss.str());
895 }
896 return contents_->GetRowGroup(i);
897}
898
899void ParquetFileReader::PreBuffer(const std::vector<int>& row_groups,
900 const std::vector<int>& column_indices,

Callers 3

ComputeColumnChunkRangeFunction · 0.45
SerializedRowGroupMethod · 0.45
ScanFileContentsFunction · 0.45

Calls 5

ParquetExceptionFunction · 0.85
strMethod · 0.80
GetRowGroupMethod · 0.80
metadataFunction · 0.50
num_row_groupsMethod · 0.45

Tested by

no test coverage detected