Title: dbt integration: Make TTL default configurable and increase default value · Issue #5873 · feast-dev/feast · GitHub
Open Graph Title: dbt integration: Make TTL default configurable and increase default value · Issue #5873 · feast-dev/feast
X Title: dbt integration: Make TTL default configurable and increase default value · Issue #5873 · feast-dev/feast
Description: Context PR #5827 added dbt integration with TTL (time-to-live) for feature views. Problem The default TTL is hardcoded to 1 day, which is very aggressive and may not be suitable for most production use cases. Many feature pipelines run w...
Open Graph Description: Context PR #5827 added dbt integration with TTL (time-to-live) for feature views. Problem The default TTL is hardcoded to 1 day, which is very aggressive and may not be suitable for most production...
X Description: Context PR #5827 added dbt integration with TTL (time-to-live) for feature views. Problem The default TTL is hardcoded to 1 day, which is very aggressive and may not be suitable for most production...
Opengraph URL: https://github.com/feast-dev/feast/issues/5873
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"dbt integration: Make TTL default configurable and increase default value","articleBody":"## Context\nPR #5827 added dbt integration with TTL (time-to-live) for feature views.\n\n## Problem\nThe default TTL is hardcoded to 1 day, which is very aggressive and may not be suitable for most production use cases. Many feature pipelines run weekly or have longer retention requirements.\n\n## Current Behavior\n```python\n# In dbt_import.py:64-68\n@click.option(\n \"--ttl-days\",\n type=int,\n default=1, # Very short!\n show_default=True,\n help=\"TTL (time-to-live) in days for feature views\",\n)\n```\n\n## Proposed Changes\n\n1. **Increase default to 7 days** - More reasonable for production use cases\n2. **Make default configurable** - Allow users to set default in config file\n3. **Add validation** - Warn if TTL is unusually short (\u003c 1 day) or long (\u003e 365 days)\n\n## Example\n```python\ndefault=7, # More reasonable default\n```\n\nOr support config override:\n```yaml\n# feature_store.yaml\ndbt:\n default_ttl_days: 30\n```\n\n## Migration Note\nThis is a breaking change for users who relied on the 1-day default. Consider:\n- Documenting the change in release notes\n- Providing migration guide\n- Adding deprecation warning in interim release\n\n## Related\n- PR #5827","author":{"url":"https://github.com/YassinNouh21","@type":"Person","name":"YassinNouh21"},"datePublished":"2026-01-16T20:12:15.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/5873/feast/issues/5873"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:28a37ebc-204e-04eb-2bbe-ddca4a515561 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | CC4E:192DFC:56AACAB:7525B9D:696E19A8 |
| html-safe-nonce | 45d1c002bfb0694ee02e220864ff360e0a7468ffeb4990476776f6c9945e7650 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDQzRFOjE5MkRGQzo1NkFBQ0FCOjc1MjVCOUQ6Njk2RTE5QTgiLCJ2aXNpdG9yX2lkIjoiOTIxNjM2NDU5MzMyMTc0NDgwOCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 30c8004e26d967e4d52758700e44143b3c5434a1c23e8ed1dd7130f16eb881fa |
| hovercard-subject-tag | issue:3823511842 |
| 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/_view_fragments/issues/show/feast-dev/feast/5873/issue_layout |
| twitter:image | https://opengraph.githubassets.com/ccf5218446f5e15dc9ed4904f950111109d55a2d9930a3f47c7ed5098bacca51/feast-dev/feast/issues/5873 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/ccf5218446f5e15dc9ed4904f950111109d55a2d9930a3f47c7ed5098bacca51/feast-dev/feast/issues/5873 |
| og:image:alt | Context PR #5827 added dbt integration with TTL (time-to-live) for feature views. Problem The default TTL is hardcoded to 1 day, which is very aggressive and may not be suitable for most production... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | YassinNouh21 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 113cc336e7105fbb9f2ee8beb67c6cc584d65fa66a8a1a5dd236ba66db174af7 |
| turbo-cache-control | no-preview |
| 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 | 1d23f8b0bc31294c6a73ba2f3adfdd8c7052ca1e |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width