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

Method RowGroup

cpp/src/parquet/file_reader.cc:892–900  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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