Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: override dynamodb config #3010

Conversation

thomas-chauvet
Copy link
Contributor

Description

This PR add the possibility to override dynamoDB configuration via storage_options:

  • AWS_ENDPOINT_URL_DYNAMODB overrides AWS_ENDPOINT_URL,
  • AWS_REGION_DYNAMODB overrides AWS_REGION,
  • AWS_ACCESS_KEY_ID_DYNAMODB overrides AWS_ACCESS_KEY_ID,
  • AWS_SECRET_ACCESS_KEY_DYNAMODB overrides AWS_SECRET_ACCESS_KEY.

It solves cases where we use an S3-compatible storage without mutual exclusion but we want to use DynamoDB anyway as a locking provider.
It also solves the case where we want to pass different credentials or region for S3 and dynamoDB.

Related Issue(s)

Documentation

Documentation has been updated to explain how to override configuration.

Copy link

ACTION NEEDED

delta-rs follows the Conventional Commits specification for release automation.

The PR title and description are used as the merge commit message. Please update your PR title and description to match the specification.

@thomas-chauvet thomas-chauvet changed the title Feat/override dynamodb config feat: override dynamodb config Nov 21, 2024
thomas-chauvet and others added 21 commits November 21, 2024 12:04
Signed-off-by: Thomas <[email protected]>
Signed-off-by: R. Tyler Croy <[email protected]>
Signed-off-by: Thomas <[email protected]>
The release of pyo3 0.22.3 compells this since we cannot otherwise
compile. The choice is between pinning 0.22.2 and upgrading our ABI, and
I think it's better to upgrade the ABI

Signed-off-by: R. Tyler Croy <[email protected]>
Signed-off-by: Thomas <[email protected]>
Signed-off-by: R. Tyler Croy <[email protected]>
Signed-off-by: Thomas <[email protected]>
Signed-off-by: Thomas <[email protected]>
Today the make_array function from Datafusion uses "item" as the list
element's field name. With recent changes in delta-kernel-rs we have
switched to calling it "element" which is more conventional related to
how Apache Parquet handles things

This change introduces a test which helps isolate the behavior seen in
Python tests within the core crate for easier regression testing

Signed-off-by: R. Tyler Croy <[email protected]>
Signed-off-by: Thomas <[email protected]>
Signed-off-by: Vikas Sharma <[email protected]>
Signed-off-by: Thomas <[email protected]>
Signed-off-by: Marko Grujic <[email protected]>
Signed-off-by: Thomas <[email protected]>
@github-actions github-actions bot added the binding/python Issues for the Python package label Nov 21, 2024
@thomas-chauvet
Copy link
Contributor Author

Issue with DCO, I'll re-open a PR ASAP.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
binding/python Issues for the Python package binding/rust Issues for the Rust crate
Projects
None yet
6 participants