-
Notifications
You must be signed in to change notification settings - Fork 280
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
[QUESTION] DynamoDb connector - refresh outdated table definition #348
Comments
The tables and columns should update automatically. It is possible that your new columns are either using unsupported data types or the connector's schema inference which reads N rows from the table in order to discover columns isn't finding any records with the columns you added. As a work around, you can define your table in AWS Glue DataCatalog and the connector will use schema from Glue as a suppliment to what it finds in DDB. The Readme for the connector outlines how to do this. Let us know if this help.s |
Anthony, thanks for the clarification. I have only simple fields, except one Map of strings. Probably the issue is with schema inference. |
@avirtuos I am still struggling to make connector to use table in Glue DataCatalog. Questions:
Thanks a lot, |
I see failed requests in CloudTrail to get table in "default" database. |
I'm not sure if crawler will produce a table that is usable by the connector. You need to ensure the glue table uses the supported types. Just keep this in mind. |
Thanks, Anthony. |
Hi,
I configured DynamoDB data source for DynamoDB and everything seems to works well.
New tables, created in DynamoDB, appears automatically in Athena data source tables list.
Lambda stack shows version 2020.33.1 in tags.
But I noticed for some tables that fields definition in Athena is not updated automatically. New fields added to the DynamoDB table don't appear in the list of table fields in Athena. Querying of new columns throws error.
Is there any way to refresh table definition or should it work automatically?
Thanks,
Yaroslav
The text was updated successfully, but these errors were encountered: