kevinjqliu commented on issue #2877:
URL: 
https://github.com/apache/iceberg-python/issues/2877#issuecomment-3702800247

   Thanks for reporting the issue! 
   
   Which FileIO implementation are you using? Fsspec or Pyarrow? 
   Are you using the [S3 
Signer](https://github.com/apache/iceberg-python/blob/1b69a2536640b3f8178fa6ac28d05123458a3dd8/pyiceberg/io/fsspec.py#L169-L178)?
 The only place in the codebase i see [mentions of 
x-amz-content-sha256](https://github.com/apache/iceberg-python/blob/1b69a2536640b3f8178fa6ac28d05123458a3dd8/tests/io/test_fsspec.py#L818)
   
   
   Heres the translation from the aliyun docs, via claude:
   ```
   Solutions
   If using aws-chunked encoding, you need to set x-amz-content-sha256 to 
STREAMING-AWS4-HMAC-SHA256-PAYLOAD.
   If you don't need to use aws-chunked encoding, remove the Content-Encoding 
request header or set it to another value.
   It is recommended to use OSS's standard Multipart Upload method rather than 
relying on the S3 SDK's aws-chunked encoding feature.
   Ensure that the S3 SDK version you're using supports OSS's aws-chunked 
encoding implementation, and update to the latest version if necessary.
   ``` 
   Are you able to try one of the above? Would be helpful to see which one 
works. I do not have an Aliyun env 😄 


-- 
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]

Reply via email to