From 73a8e0b1ff71efab21651abd070ae655793f1042 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gonzalo=20Pe=C3=B1a-Castellanos?= Date: Fri, 27 Nov 2026 15:35:51 -0500 Subject: [PATCH] docs: Document checksum env vars for S3-compatible stores --- mkdocs/docs/configuration.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/mkdocs/docs/configuration.md b/mkdocs/docs/configuration.md index 3915ebd7ee..d461d4aae0 100644 --- a/mkdocs/docs/configuration.md +++ b/mkdocs/docs/configuration.md @@ -186,6 +186,13 @@ For the FileIO there are several configuration options available: +Recent AWS SDKs, including botocore 1.36+ (used by `FsspecFileIO` through s3fs) and the AWS SDK for C++ bundled with recent PyArrow releases, add CRC-based integrity checksums to requests by default. Some S3-compatible object stores do not support these and reject writes, for example with `MissingContentLength` or `XAmzContentSHA256Mismatch`. In that case, set the following environment variables before creating the catalog, so that checksums are only sent and validated when an operation requires them: + +```sh +export AWS_REQUEST_CHECKSUM_CALCULATION=when_required +export AWS_RESPONSE_CHECKSUM_VALIDATION=when_required +``` + ### HDFS