Skip to content

Commit d75a684

Browse files
authored
feat: default to snappy compression for geoparquet (#77)
Per #76 (comment), if we decide to default to something else we can always change it later.
1 parent edd7a49 commit d75a684

File tree

2 files changed

+50
-40
lines changed

2 files changed

+50
-40
lines changed

Cargo.lock

Lines changed: 49 additions & 39 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tests/test_write.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,6 @@ async def test_write(item: dict[str, Any], tmp_path: Path) -> None:
1616

1717
async def test_write_compressed(item: dict[str, Any], tmp_path: Path) -> None:
1818
path = str(tmp_path / "out.parquet")
19-
await stacrs.write(path, [item], format="parquet[snappy]")
19+
await stacrs.write(path, [item])
2020
metadata = pyarrow.parquet.read_metadata(path)
2121
assert metadata.row_group(0).column(0).compression == "SNAPPY"

0 commit comments

Comments
 (0)