Skip to content

Commit

Permalink
ok
Browse files Browse the repository at this point in the history
  • Loading branch information
orf committed Oct 19, 2024
1 parent 0fd3dc3 commit f9deb12
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 @@ -40,7 +40,7 @@ async def fill_buffer(buffer: list[tuple[tuple[int, range], RecordBatch]], clien


def hash_parquet_keys(keys: list[tuple[int, range]]) -> str:
combined = "-".join(f"{number}-{start}-{end}" for number, (start, end) in keys)
combined = "-".join(f"{number}-{rng.start}-{rng.stop}" for (number, rng) in keys)
return hashlib.sha256(combined.encode()).hexdigest()


Expand Down

0 comments on commit f9deb12

Please sign in to comment.