Skip to content

Comments

docs(py-polars): clarify delta_write_options for compression#26619

Open
cluster2600 wants to merge 2 commits intopola-rs:mainfrom
cluster2600:docs-write-delta-options
Open

docs(py-polars): clarify delta_write_options for compression#26619
cluster2600 wants to merge 2 commits intopola-rs:mainfrom
cluster2600:docs-write-delta-options

Conversation

@cluster2600
Copy link

Closes #20739.

The delta_write_options parameter is forwarded to deltalake.write_deltalake, but compression is configured via deltalake.WriterProperties (passed as the writer_properties option).

This PR clarifies the docstring so users don't expect delta_write_options={"compression": ...} to work.

@codecov
Copy link

codecov bot commented Feb 19, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 81.38%. Comparing base (628f227) to head (0cf3672).

Additional details and impacted files
@@           Coverage Diff           @@
##             main   #26619   +/-   ##
=======================================
  Coverage   81.37%   81.38%           
=======================================
  Files        1794     1794           
  Lines      245003   245003           
  Branches     3080     3080           
=======================================
+ Hits       199382   199405   +23     
+ Misses      44835    44812   -23     
  Partials      786      786           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Docs on write_delta parameter delta_write_options to show how to pass WriterProperties

1 participant