Skip to content

Got ConflictingFeatureViewNames error while running feast apply in the streaming features tutorial #3805

@romqn1999

Description

@romqn1999

Expected Behavior

Expected to successfully register data sources and features as the first cell in the streaming features tutorial

Current Behavior

I am running the streaming features tutorial with the Feast version 0.34.1 and got the error feast.errors.ConflictingFeatureViewNames: The feature view name: driver_hourly_stats_stream refers to feature views of different types while executing feast apply.

Steps to reproduce

  • Clone the tutorial: git clone https://github.com/feast-dev/streaming-tutorial.git
  • Install Feast (current version is 0.34.1): pip install 'feast[redis]'
  • Run the command feast apply and get the ConflictingFeatureViewNames error

Specifications

  • Version: 0.34.1
  • Platform: Linux
  • Subsystem: CentOS Linux release 7.9.2009 (Core)

Possible Solution

We can fix the error by implementing the override for the proto_class property in the StreamFeatureView class:

    @property
    def proto_class(self) -> Type[StreamFeatureViewProto]:
        return StreamFeatureViewProto

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions