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

Method RowGroup

cpp/src/parquet/file_reader.cc:888–896  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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