delta-io / delta-rs

A native Rust library for Delta Lake, with bindings into Python
https://delta-io.github.io/delta-rs/
Apache License 2.0
1.98k stars 365 forks source link

[deltalake_aws] Allow configuring separate endpoints for S3 and DynamoDB clients. #2498

Closed adamfaulkner-at closed 3 weeks ago

adamfaulkner-at commented 1 month ago

Description

aws_config supports the use of custom endpoints. This is currently exposed via the AWS_ENDPOINT_URL option and appears to be used for both DynamoDB and S3 clients.

It would be helpful if I could provide separate endpoints for DynamoDB and S3. Ideally, I would be able to pass in a DynamoDB client and an S3 client or object store directly, instead of interacting through the options hashmap full of strings.

Use Case

In my test environment, separate processes mock S3 and DynamoDB, and listen on different ports, so I cannot provide a single endpoint that does both.

Related Issue(s)

hnaoto commented 1 month ago

Hi @adamfaulkner-at , I am taking a look

adamfaulkner-at commented 5 days ago

Thank you so much!