GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Use Snowflake connections.toml file · Issue #4592 · feast-dev/feast

Use Snowflake connections.toml file #4592

New issue
Copy link
New issue
Copy link
Closed
#4600
Closed
Use Snowflake connections.toml file#4592
#4600
Copy link
Labels
kind/featureNew feature or requestNew feature or request

Description

@nanohanno
nanohanno
opened on Oct 1, 2024
Issue body actions

Problem
We would like to directly use the connections.toml file for the Snowflake connector for the Feast Snowflake integration. Setting a connection_name in the feature store configuration file would allow us to use the same connection configuration for the feature store that is also used in other python scripts that access Snowflake.

Currently, the feature store configuration gives the option to add a config_path. To my understanding, this file is a SnowSQL config file which is not directly compatible with the Python Snowflake connector that is used under the hood in Feast.

Proposed Solution
My understanding is, that if the connection_name is passed to the snowflake.connector it will look for the default location of the file and load the configuration parameters for the defined connection. https://docs.snowflake.com/en/developer-guide/python-connector/python-connector-connect#connecting-using-the-connections-toml-file

Thus, adding a field with name connection_name in https://github.com/feast-dev/feast/blob/master/sdk/python/feast/infra/offline_stores/snowflake.py#L79 would work for the offline store. The other Snowflake resources need to be adjusted similarly.

I would be open for a contribution.

Alternatives
A workaround where the connection is configured in an ini file that matches the config in the connections.toml file.

Activity

  1. nanohanno
    added
    kind/featureNew feature or requestNew feature or request
    on Oct 1, 2024
  2. franciscojavierarceo
    closed this as completedin #4600on Oct 4, 2024
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

    kind/featureNew feature or requestNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402503 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.