Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
romqn1999 opened this issue Oct 18, 2023 · 1 comment · Fixed by #3843

Comments

@romqn1999
Copy link

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
@shuchu
Copy link
Collaborator

shuchu commented Nov 22, 2023

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
Projects
None yet
2 participants