You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@iceberg.apache.org by "ananthaksr (via GitHub)" <gi...@apache.org> on 2025/04/18 21:56:13 UTC

[PR] feat(playground): Add S3Tables catalog support (#1161) [iceberg-rust]

ananthaksr opened a new pull request, #1229:
URL: https://github.com/apache/iceberg-rust/pull/1229

   Allow configuring S3Tables catalog type in the playground CLI config.
   
   ## Which issue does this PR close?
   
   Closes https://github.com/apache/iceberg-rust/issues/1161
   
   ## What changes are included in this PR?
   
   Adds parsing for `type = "s3tables"` in `cli/src/catalog.rs`, handling `table_bucket_arn`, optional `endpoint_url`, and `props`. Instantiates the `S3TablesCatalog` and wraps it for DataFusion integration.
   
   This enables testing S3Tables interactions via the playground using TOML configuration like:
   
   ```
   [[catalogs]]
   name = "s3tables_catalog"
   type = "s3tables"
   
   [catalogs.config]
   endpoint_url = "https://s3tables.<region>.amazonaws.com"
   table_bucket_arn = "arn:aws:s3:<region>:<account>:bucket/<bucket_name>"
   
   [catalogs.config.props]
   aws_region = "<region>"
   "s3.region" = "<region>"
   "s3.access-key-id" = "<access-key-id>"
   "s3.secret-access-key" = "<secret-access-key>"
   "s3.session-token" = "<session-token>"
   profile_name = "<profile>"
   ```
   
   ## Are these changes tested?
   
   Tested locally using both rest and s3tables catalog
   
   ```
   $ cargo run --package iceberg-cli --bin iceberg-cli
   
   > SHOW TABLES;
   
   > SELECT * FROM my_catalog.my_namespace.my_table LIMIT 10;
   
   ```
   
   


-- 
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-unsubscribe@iceberg.apache.org

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


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


Re: [PR] feat(playground): Add S3Tables catalog support (#1161) [iceberg-rust]

Posted by "ananthaksr (via GitHub)" <gi...@apache.org>.
ananthaksr closed pull request #1229: feat(playground): Add S3Tables catalog support (#1161)
URL: https://github.com/apache/iceberg-rust/pull/1229


-- 
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-unsubscribe@iceberg.apache.org

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


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


Re: [PR] feat(playground): Add S3Tables catalog support (#1161) [iceberg-rust]

Posted by "ananthaksr (via GitHub)" <gi...@apache.org>.
ananthaksr commented on PR #1229:
URL: https://github.com/apache/iceberg-rust/pull/1229#issuecomment-2825426124

   Sounds good to me.


-- 
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-unsubscribe@iceberg.apache.org

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


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


Re: [PR] feat(playground): Add S3Tables catalog support (#1161) [iceberg-rust]

Posted by "liurenjie1024 (via GitHub)" <gi...@apache.org>.
liurenjie1024 commented on PR #1229:
URL: https://github.com/apache/iceberg-rust/pull/1229#issuecomment-2824224479

   Thanks @ananthaksr for contributing this, I think a better way would be to use the coming `catalog_loader` api to do it. We could close this pr if you don't mind it?


-- 
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-unsubscribe@iceberg.apache.org

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


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