Skip to content

Commit

Permalink
Fix logging
Browse files Browse the repository at this point in the history
  • Loading branch information
orf committed Oct 20, 2024
1 parent 40933e8 commit dd43b5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pypi_data/combine_parquet.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def append_buffer(
writer.write_batch(batch)
fd.flush()
end_size = roll_up_path.stat().st_size
written_size = initial_size - end_size
written_size = end_size - initial_size
log.info(
f"Wrote {batch.num_rows} rows "
f"Batch Size: {batch.nbytes / 1024 / 1024:.1f} MB "
Expand Down

0 comments on commit dd43b5e

Please sign in to comment.