-
Notifications
You must be signed in to change notification settings - Fork 421
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
Error with dynamo locking provider on 0.15 #2034
Comments
Sooooooooo funny story. The instructions you reference are for setting up the DynamoDb table for what is conventionally referred to ta S3DynamoDbLogStore. The native However @dispanser did some work to move the native libraries to use the same S3DynamoDbLogStore pattern. Can you share the schema/definition of your table that works with python 0.14? Based on the instructions that you mentioned following, I would expect that the write worked on 0.15, not 0.14, so I'm a bit confused |
Ah, the one difference I see in dynamo config is that I am using attribute |
Ok I have realized that the different dynamo locking providers and associated docs have confused me quite a bit. Somehow I had previously setup my Dynamo table successfully with locking provider used in Now I am working on setting up a test environment to use with |
I think the docs are currently incorrect, as they haven't been adapted to reflect the code changes yet. I was surprised by how quicly the release train arrived :-).
In any case, the error message is not very helpful, I'll take a look into making that better. @rtyler: I have a small docs update in preparation. I'm not sure how the docs release process works, but I hope we can update the docs without creating a new release. |
I was able to get things working! Had to read the source code to discover that I needed additional IAM permissions ( Dynamo permissions:
Config: storage_options = {
"AWS_REGION": "us-east-1",
"AWS_ACCESS_KEY_ID": AWS_ACCESS_KEY,
"AWS_SECRET_ACCESS_KEY": AWS_ACCESS_SECRET,
"AWS_S3_LOCKING_PROVIDER": "dynamodb",
"DELTA_DYNAMO_TABLE_NAME": "deltalake-lock",
} My issue is resolved - feel free to close this issue once you're satisfied. |
@rtyler : should this be added to the documentation? I can make a PR |
Environment
Delta-rs version: 0.15.0
Binding: python
Environment:
Bug
What happened: When writing to a partitioned deltalake table on s3 with dynamo as the locking provider, the following error is thrown:
What you expected to happen: Successful table update.
How to reproduce it: I have an s3/dynamo config set up per the production config instructions in the docs.
Pseudocode:
The same codepath works in 0.14.
More details: N/A
The text was updated successfully, but these errors were encountered: