Skip to content

Commit

Permalink
parquetFooterRowsPerBlock
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-lsembera committed Jul 1, 2024
1 parent d84cb68 commit d39ca44
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ private void verifyRowCounts(
long javaSerializationTotalRowCount) {
long parquetTotalRowsWritten = writer.getRowsWritten();

List<Long> parquetFooterRowsPerBlock = writer.getRowCountFromFooter();
List<Long> parquetFooterRowsPerBlock = writer.getRowCountsFromFooter();
long parquetTotalRowsInFooter = 0;
for (long perBlockCount : parquetFooterRowsPerBlock) parquetTotalRowsInFooter += perBlockCount;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ public BdecParquetWriter(
}

/** @return List of row counts per block stored in the parquet footer */
public List<Long> getRowCountFromFooter() {
public List<Long> getRowCountsFromFooter() {
final List<Long> blockRowCounts = new ArrayList<>();
for (BlockMetaData metadata : writer.getFooter().getBlocks()) {
blockRowCounts.add(metadata.getRowCount());
Expand Down

0 comments on commit d39ca44

Please sign in to comment.