Skip to content

docs: Document checksum env vars for S3-compatible stores - #4506

Draft
goanpeca wants to merge 1 commit into
apache:mainfrom
goanpeca:docs-s3-compatible
Draft

goanpeca wants to merge 1 commit into
apache:mainfrom
goanpeca:docs-s3-compatible

Conversation

@goanpeca

@goanpeca goanpeca commented Nov 27, 2026 •

Copy link
Copy Markdown

Rationale for this change

Users of S3-compatible object stores have reported writes failing with MissingContentLength (FsspecFileIO, after botocore 1.36, #1546) and XAmzContentSHA256Mismatch (PyArrowFileIO, after a PyArrow upgrade, #2877). In #1546 the working fix was setting AWS_REQUEST_CHECKSUM_CALCULATION=when_required, and in #2877 it was setting both AWS_REQUEST_CHECKSUM_CALCULATION=when_required and AWS_RESPONSE_CHECKSUM_VALIDATION=when_required. The S3 configuration page does not mention either setting. This adds a short note and the two variables below the S3 FileIO table. Docs only, no behavior change.

Are these changes tested?

mkdocs build --strict passes and the pre-commit hooks (markdownlint, codespell, whitespace) pass on the changed file. I also created a table, appended twice and scanned it through a SqlCatalog against a live S3-compatible bucket with both PyArrowFileIO and FsspecFileIO (pyiceberg 0.12.0, pyarrow 26.0.1, botocore 1.43.117), with and without the two variables set; all four runs succeeded, which shows the settings are safe to apply. I did not have access to a store that rejects the new checksums, so the failing case is taken from the linked issues.

Are there any user-facing changes?

Documentation only.

AI usage: this change was drafted with the help of Claude Opus 5.5. I reviewed the text and ran the checks above.

This branch has not been deployed

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant