Skip to content

Feast <> dbt integration #3335

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

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