Repository navigation
Conversation
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Rationale for this change
Users of S3-compatible object stores have reported writes failing with
MissingContentLength(FsspecFileIO, after botocore 1.36, #1546) andXAmzContentSHA256Mismatch(PyArrowFileIO, after a PyArrow upgrade, #2877). In #1546 the working fix was settingAWS_REQUEST_CHECKSUM_CALCULATION=when_required, and in #2877 it was setting bothAWS_REQUEST_CHECKSUM_CALCULATION=when_requiredandAWS_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 --strictpasses and the pre-commit hooks (markdownlint, codespell, whitespace) pass on the changed file. I also created a table, appended twice and scanned it through aSqlCatalogagainst a live S3-compatible bucket with bothPyArrowFileIOandFsspecFileIO(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.