maninc opened a new pull request, #459: URL: https://github.com/apache/iceberg-go/pull/459
#### Motivation To Support AWS Glue Iceberg endpoint using Iceberg-Go CLI. `Forbidden error` is thrown when Iceberg tables in glue are queried using CLI. https://docs.aws.amazon.com/glue/latest/dg/connect-glu-iceberg-rest.html #### Fix: - Added `RestCatalogConfig` struct to `CatalogConfig` struct - `RestCatalogConfig` contains rest catalog configuration properties. - Above values are used before creating rest catalog - Use AWS environment credentials when Credentials property is not set #### Testing: - Added unit test for new configuration - Used below `rest_config.yaml` to query Iceberg tables in AWS Glue. ```yaml catalog: default: type: rest uri: https://glue.us-east-1.amazonaws.com/iceberg region: us-east-1 warehouse: YOUR_AWS_ACCOUNT_ID rest-config: sigv4-region: us-east-1 sigv4-service: glue ``` -- 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 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