EternalDeiwos opened a new issue, #1442:
URL: https://github.com/apache/iceberg-python/issues/1442

   ### Apache Iceberg version
   
   0.8.1 (latest release)
   
   ### Please describe the bug 🐞
   
   When attempting to read a table using `s3.signer: S3V4RestSigner`, pyiceberg 
throws an error if `token` and `s3.session-token` are not set. This is 
currently mitigated by putting placeholder values in the catalog configuration:
   
   ```python
   catalog = load_catalog(
       'lab',
       **{
           'uri': 'https://datalake.internal.redacted:19121/iceberg',
           'warehouse': 'lab',
           'header.X-Iceberg-Access-Delegation': 'remote-signing',
           'token': 'placeholder',
           's3.session-token': 'placeholder',
       }
   )
   ```
   
   <details>
   <summary>table.io.properties</summary>
   
   ```
   {
       ...
       "s3.endpoint": "https://s3.eu-central-1.amazonaws.com/";,
       "s3.remote-signing-enabled": "true",
       "s3.signer": "S3V4RestSigner",
       "s3.signer.endpoint": "v1/main%7Clab/s3sign/H4sIAAAAAAAA...U9NuAQAA",
       "s3.signer.uri": "https://datalake.internal.redacted:19121/iceberg/";,
       "s3.use-arn-region-enabled": "true",
       ...
   }
   ```
   
   </details>
   
   ### Willingness to contribute
   
   - [ ] I can contribute a fix for this bug independently
   - [ ] I would be willing to contribute a fix for this bug with guidance from 
the Iceberg community
   - [X] I cannot contribute a fix for this bug at this time


-- 
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: issues-unsubscr...@iceberg.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org
For additional commands, e-mail: issues-h...@iceberg.apache.org

Reply via email to