Title: GitHub · Where software is built
Open Graph Title: feast-dev/feast
X Title: feast-dev/feast
Description: The Open Source Feature Store for AI/ML. Contribute to feast-dev/feast development by creating an account on GitHub.
Open Graph Description: The Open Source Feature Store for AI/ML. Contribute to feast-dev/feast development by creating an account on GitHub.
X Description: The Open Source Feature Store for AI/ML. Contribute to feast-dev/feast development by creating an account on GitHub.
Opengraph URL: https://github.com/feast-dev/feast
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Add DynamoDB table existence check before calling dynamodb_resource.create_table()","articleBody":"## Current Behavior\nWe are facing an issue connecting Feast to DynamoDB online store. While running FeastStore.apply() to register the feature views, Feast is trying to create DynamoDB table in the format \u003cproject\u003e.\u003cFeatureView.name\u003e. We are running this on AWS and the IAM role we use, does not have dynamodb:CreateTable policy attached to it and is failing with AccessDeniedException that the assumed role is not authorized to perform: dynamdb:CreateTable on resource: xxx. We have a firm wide policy to only enable Dynamo create table access via Terraform. So we tried creating the DynamoDB tables in advance using terraform, but still the FeastStore.apply() looks to create the table even when it exists. Would it be possible to add a check if table exists and do dynamodb_resource.create_table() step only if it doesn't exist?\n\n## Expected Behavior \nAdd DynamoDB table existence check before calling dynamodb_resource.create_table()\n\n## Steps to reproduce\n1. IAM role without dynamodb:CreateTable and dynamodb:DeleteTable policies\n2. FeatureStore.apply() to register feature views, this will try to create DynamoDB table in the format \u003cproject\u003e.\u003cFeatureView.name\u003e\n3. Step 2 will fail at dynamodb_resource.create_table() step since dynamodb:CreateTable policy does not exist for the assumed role.\n\n### Specifications\n\n- Version: 0.53.0\n- Platform: AWS\n- Subsystem: DynamoDB online store\n\n## Possible Solution\nAdd a check if table exists before dynamodb_resource.create_table() call.\nhttps://github.com/feast-dev/feast/blob/master/sdk/python/feast/infra/online_stores/dynamodb.py#L220","author":{"url":"https://github.com/shyamaryan","@type":"Person","name":"shyamaryan"},"datePublished":"2025-10-03T07:07:55.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/5647/feast/issues/5647"}
| route-pattern | /:user_id/:repository/issues/:id(.:format) |
| route-controller | issues |
| route-action | show |
| fetch-nonce | v2:63ca04ab-a75b-354c-b80e-a287ec0469ce |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 914C:3B6C5C:84DF0C:B4B6EB:696E7F71 |
| html-safe-nonce | ce0b5d486489b81649897d0e3d455a2e36c89dc88227596358f503268398fa6e |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MTRDOjNCNkM1Qzo4NERGMEM6QjRCNkVCOjY5NkU3RjcxIiwidmlzaXRvcl9pZCI6IjkxMjM3MzY3NTU5MzA4MjQ1NjEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 6f2e5bbba3dcbf40ebac9dfc35c44c5829838ae78d3f471de9103770400f8274 |
| hovercard-subject-tag | repository:161133770 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/feast-dev/feast/issues/5647 |
| twitter:image | https://opengraph.githubassets.com/5b64180de08ddd2f851f3f7ae3c2e6e614def16c09885f1cbd2650a38530cfc5/feast-dev/feast |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/5b64180de08ddd2f851f3f7ae3c2e6e614def16c09885f1cbd2650a38530cfc5/feast-dev/feast |
| og:image:alt | The Open Source Feature Store for AI/ML. Contribute to feast-dev/feast development by creating an account on GitHub. |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | fdad15fd2ad43212aa8b8be5f2c2725550f8374ceeeb154a999ad9145b43f3f7 |
| turbo-cache-control | no-cache |
| go-import | github.com/feast-dev/feast git https://github.com/feast-dev/feast.git |
| octolytics-dimension-user_id | 57027613 |
| octolytics-dimension-user_login | feast-dev |
| octolytics-dimension-repository_id | 161133770 |
| octolytics-dimension-repository_nwo | feast-dev/feast |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 161133770 |
| octolytics-dimension-repository_network_root_nwo | feast-dev/feast |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 27b23bc056eb973d350fc95afc848757edb9e7a9 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width