Visitar URL original
dbt integration: Support multiple entities per FeatureView · Issue #5872 · feast-dev/feast · GitHub
Skip to content

dbt integration: Support multiple entities per FeatureView #5872

Description

@YassinNouh21

Context

PR #5827 added dbt integration with single entity support.

Problem

Real-world feature engineering often requires multiple entities per FeatureView (e.g., a feature view keyed by both user_id and merchant_id). Currently only single entity column is supported.

Current Limitation

feast dbt import -m manifest.json -e driver_id  # only one entity

Proposed Enhancement

Support multiple entity columns:

# Option 1: Multiple -e flags
feast dbt import -m manifest.json -e user_id -e merchant_id

# Option 2: Comma-separated
feast dbt import -m manifest.json -e user_id,merchant_id

Implementation Notes

  • Update CLI to accept multiple entity columns
  • Create separate Entity objects for each
  • Pass list of entities to create_feature_view
  • Update code generation to handle multiple entities
  • Update documentation with examples

Files to Update

  • sdk/python/feast/cli/dbt_import.py
  • sdk/python/feast/dbt/mapper.py
  • sdk/python/feast/dbt/codegen.py
  • Documentation

Related

Activity

  1. added 3 commits that reference this issue on Jan 24, 2026
    3670023
    9165249
    be2eb9e
  2. added a commit that references this issue on Jan 26, 2026
    05a4fb5
  3. added 2 commits that reference this issue on Feb 7, 2026
    ef56ca8
    b7400aa
  4. added a commit that references this issue on Feb 18, 2026
  5. added a commit that references this issue on Mar 9, 2026
    91f14f6
  6. added a commit that references this issue on Mar 18, 2026
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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions