Skip to content

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

Closed

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

Activity

  1. shuchu commented on Nov 22, 2023

    @shuchu
    Collaborator

    I checked the code and agree with your proposed fix. The proto_class() function is not overloaded in the current implementation (master branch after v0.34.1). let me fix this.

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

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