Skip to content

Feast <> dbt integration #3335

Closed
Closed

Description

@adchia

Is your feature request related to a problem? Please describe.

  • Users commonly want to leverage their existing tables created by dbt models within Feast. Right now, this requires manual creation
  • When materializing features to the online store, often, it's desirable to have dbt run first to create the upstream table prior to materializing an interval. This requires manual work today.

Describe the solution you'd like

  • A mechanism to import dbt models (e.g. feast dbt-import) that lets users import from a directory of models, or configure a directory and enable individual models

  • The above mechanism should generate a data source + feature view with pre-populated tags to track the origin dbt model. Something like

driver_stats_source = BigQuerySource(
    name="driver_hourly_stats_source",
    table="AUTO-IMPORTED-NAME",
    tags={ 
       "feast.dev/dbt-model-path": "INSERT MODEL PATH" 
       "feast.dev/dbt-model-serialized": "<serialized dbt model to be shown in UI>" 
    }
)

Describe alternatives you've considered

Additional context
Add any other context or screenshots about the feature request here.

Activity

  1. stale commented on Mar 18, 2023

    @stale

    This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

  2. Zoltrix commented on Jun 21, 2023

    @Zoltrix

    This is a really cool feature request. I was wondering the exact same thing.

    @adchia Do you suppose a workaround for this is to:
    1- Create a custom DbtSource and logic of it would be to parse the dbt model .yaml file of a particular model
    2- And then register that DbtSource

  3. Ido-Levi commented on Sep 4, 2023

    @Ido-Levi

    Hey, any news on this?

  4. franciscojavierarceo commented on Aug 6, 2024

    @franciscojavierarceo
    Member

    We should open this back up @HaoXuAI.

  5. removed
    wontfixThis will not be worked on
    on Aug 6, 2024
  6. bquocminh commented on Jan 23, 2025

    @bquocminh

    Hi guys, any updates on this request? Thanks.

  7. franciscojavierarceo commented on Jan 23, 2025

    @franciscojavierarceo
    Member

    Hey, this isn't the top priority at the moment but it's something we certainly want to do!

  8. stale commented on Jun 27, 2025

    @stale

    This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

  9. 1 remaining item

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions