Title: Use Snowflake connections.toml file · Issue #4592 · feast-dev/feast · GitHub
Open Graph Title: Use Snowflake connections.toml file · Issue #4592 · feast-dev/feast
X Title: Use Snowflake connections.toml file · Issue #4592 · feast-dev/feast
Description: 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 ...
Open Graph Description: 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 wo...
X Description: 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 wo...
Opengraph URL: https://github.com/feast-dev/feast/issues/4592
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Use Snowflake connections.toml file","articleBody":"**Problem**\r\nWe 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.\r\n\r\nCurrently, 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.\r\n\r\n**Proposed Solution**\r\nMy 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\r\n\r\nThus, 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.\r\n\r\nI would be open for a contribution.\r\n\r\n**Alternatives**\r\nA workaround where the connection is configured in an ini file that matches the config in the `connections.toml` file.","author":{"url":"https://github.com/nanohanno","@type":"Person","name":"nanohanno"},"datePublished":"2024-10-01T14:36:30.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/4592/feast/issues/4592"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:4fa978ec-c32c-6dbb-c75e-dbb6d221d0c4 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C116:3852BB:C0048D:10CA244:6970BC2E |
| html-safe-nonce | a67f466ceef1347c0cedcd5afca8a21cf1b4ee47629706ce4a51c00e0feddb9d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMTE2OjM4NTJCQjpDMDA0OEQ6MTBDQTI0NDo2OTcwQkMyRSIsInZpc2l0b3JfaWQiOiIzMTU5NjUwNjQ4MTAxMTgxOTEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 56ba9719ec1e17af801417ab1e60b524f34c459ffb5b93a6ebadd71aba6a8324 |
| hovercard-subject-tag | issue:2559442222 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/feast-dev/feast/4592/issue_layout |
| twitter:image | https://opengraph.githubassets.com/9c4278d71c8316bb4bf9a120f13508f1fd9f5b0d8dcd9592627b9071406b6afc/feast-dev/feast/issues/4592 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/9c4278d71c8316bb4bf9a120f13508f1fd9f5b0d8dcd9592627b9071406b6afc/feast-dev/feast/issues/4592 |
| og:image:alt | 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 wo... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | nanohanno |
| hostname | github.com |
| expected-hostname | github.com |
| None | 8e0be80373b724b033cdf8a7b1f78bf5fb6a5d7a2182a9a403aa30894606e390 |
| turbo-cache-control | no-preview |
| go-import | github.com/feast-dev/feast git https://github.com/feast-dev/feast.git |
| octolytics-dimension-user_id | 57027613 |
| octolytics-dimension-user_login | feast-dev |
| octolytics-dimension-repository_id | 161133770 |
| octolytics-dimension-repository_nwo | feast-dev/feast |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 161133770 |
| octolytics-dimension-repository_network_root_nwo | feast-dev/feast |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 84d9d5bf3b01412ea10f7c2429cbfc735ccce9ce |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width