Skip to content

SnowflakeOfflineStoreConfig import fails in the python feature server #2560

Closed

Description

@jerive

Expected Behavior

Configuring snowflake does not make the AWS python server fail

Current Behavior

[ERROR] FeastModuleImportError: Could not import module 'feast.infra.offline_stores.snowflake' 
while attempting to load class 'SnowflakeOfflineStoreConfig'

Steps to reproduce

  • Configure a snowflake offline store
  • Deploy the AWS python feature server
  • Query /get-online-features

Specifications

  • Version: v0.20.0
  • Platform:
  • Subsystem: Python feature server AWS

Possible Solution

Activity

  1. achals commented on Apr 18, 2022

    @achals
    Member

    Hi @jerive , you're right that this is indeed a bug. We're planning on fixing this in a patch release soon (hopefully this week)

  2. achals commented on Apr 18, 2022

    @achals
    Member

    More context: The AWS Feature Server dockerfile doesn't install the snowflake extra, and feast by design eagerly loads the offline store.

    Ideally, we should instantiate the offline store lazily so that we don't load it in environments like feature serving, where it's not neeeded.

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