goanpeca opened a new pull request, #4506: URL: https://github.com/apache/iceberg-python/pull/4506
# 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 both threads the working fix was setting `AWS_REQUEST_CHECKSUM_CALCULATION=when_required` and `AWS_RESPONSE_CHECKSUM_VALIDATION=when_required`, but the S3 configuration page does not mention it. 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. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
