Title: dbt integration: FileSource generates invalid hardcoded paths · Issue #5874 · feast-dev/feast · GitHub
Open Graph Title: dbt integration: FileSource generates invalid hardcoded paths · Issue #5874 · feast-dev/feast
X Title: dbt integration: FileSource generates invalid hardcoded paths · Issue #5874 · feast-dev/feast
Description: Context PR #5827 added support for FileSource data sources in dbt integration. Problem The FileSource implementation generates hardcoded paths that likely don't exist: # In mapper.py:240-242 return FileSource( name=f"{model.name}_source"...
Open Graph Description: Context PR #5827 added support for FileSource data sources in dbt integration. Problem The FileSource implementation generates hardcoded paths that likely don't exist: # In mapper.py:240-242 return...
X Description: Context PR #5827 added support for FileSource data sources in dbt integration. Problem The FileSource implementation generates hardcoded paths that likely don't exist: # In mapper.py:240-242 re...
Opengraph URL: https://github.com/feast-dev/feast/issues/5874
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"dbt integration: FileSource generates invalid hardcoded paths","articleBody":"## Context\nPR #5827 added support for FileSource data sources in dbt integration.\n\n## Problem\nThe FileSource implementation generates hardcoded paths that likely don't exist:\n\n```python\n# In mapper.py:240-242\nreturn FileSource(\n name=f\"{model.name}_source\",\n path=f\"/data/{model.name}.parquet\", # Hardcoded, likely invalid\n # ...\n)\n```\n\nThis path `/data/{model.name}.parquet` is unlikely to match actual file locations.\n\n## Impact\n- Generated FileSource objects won't work without manual editing\n- Confusing user experience\n- No clear documentation on how to fix the paths\n\n## Proposed Solutions\n\n### Option 1: Make path configurable\n```bash\nfeast dbt import -m manifest.json -e driver_id --data-source-type file --file-path-template \"/my/data/{model}.parquet\"\n```\n\n### Option 2: Read from dbt meta\nSupport custom path in dbt model meta:\n```yaml\n# dbt model\nmodels:\n - name: driver_stats\n meta:\n feast:\n file_path: \"/data/warehouse/driver_stats.parquet\"\n```\n\n### Option 3: Require explicit path mapping file\n```bash\nfeast dbt import -m manifest.json -e driver_id --file-path-config paths.yaml\n```\n\n## Recommendation\nImplement Option 1 (path template) as it's simplest and covers most use cases. Consider Option 2 for advanced scenarios.\n\n## Related\n- PR #5827","author":{"url":"https://github.com/YassinNouh21","@type":"Person","name":"YassinNouh21"},"datePublished":"2026-01-16T20:12:19.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/5874/feast/issues/5874"}
| 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:41a2677f-49a1-68e0-af2d-bd1cf84c8588 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8A0A:2394B4:4C97ED4:6718BF6:696E035F |
| html-safe-nonce | 8db40bbdc049e644cc6122000d15b95fc03d46be6ac055418cc081e2fe168127 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4QTBBOjIzOTRCNDo0Qzk3RUQ0OjY3MThCRjY6Njk2RTAzNUYiLCJ2aXNpdG9yX2lkIjoiNzkwNTY2NzcyMTUzMzg1ODIzIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | f758ed7480ff9235f5e879e74b25bfc142148027e584837bfc5483c2cacc8290 |
| hovercard-subject-tag | issue:3823512053 |
| 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/5874/issue_layout |
| twitter:image | https://opengraph.githubassets.com/eb55ef82a9a8e021a35779463f15ac76d98027f5f7cc92074572c48c6c9a21e4/feast-dev/feast/issues/5874 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/eb55ef82a9a8e021a35779463f15ac76d98027f5f7cc92074572c48c6c9a21e4/feast-dev/feast/issues/5874 |
| og:image:alt | Context PR #5827 added support for FileSource data sources in dbt integration. Problem The FileSource implementation generates hardcoded paths that likely don't exist: # In mapper.py:240-242 return... |
| 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 | 9b5131b207ddd175abf059a848d5f4302ec0606b02211b989013be49cf08593e |
| 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 | f8590a63bfc8093b241930ca57d536c9a50f9680 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width