Title: allow read-only feature while using snowflake as (sql) registry host. · Issue #3844 · feast-dev/feast · GitHub
Open Graph Title: allow read-only feature while using snowflake as (sql) registry host. · Issue #3844 · feast-dev/feast
X Title: allow read-only feature while using snowflake as (sql) registry host. · Issue #3844 · feast-dev/feast
Description: Is your feature request related to a problem? Please describe. Based on the community user's (Zvonimir Cikojevic) feedback, we want to create a read-only feature for snowflake user who only can do READ to the registry on snowflake. Hi gu...
Open Graph Description: Is your feature request related to a problem? Please describe. Based on the community user's (Zvonimir Cikojevic) feedback, we want to create a read-only feature for snowflake user who only can do ...
X Description: Is your feature request related to a problem? Please describe. Based on the community user's (Zvonimir Cikojevic) feedback, we want to create a read-only feature for snowflake user who only can...
Opengraph URL: https://github.com/feast-dev/feast/issues/3844
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"allow read-only feature while using snowflake as (sql) registry host. ","articleBody":"**Is your feature request related to a problem? Please describe.**\r\nBased on the community user's (Zvonimir Cikojevic) feedback, we want to create a read-only feature for snowflake user who only can do READ to the registry on snowflake. \r\n\r\nHi guys! I hope I’m in the right channel.\r\nI have Feast deployed on Snowflake and I’d like to limit the write access to the feature store.\r\nThe idea was to have a Snowflake role that only has Read privileges to the feature store schema (where the feast registry and our batch sources are deployed).\r\nHowever, when assuming this role and running\r\nstore = feast.FeatureStore()\r\nI get unauthorized error since the first SQL query Feast runs is CREATE TABLE IF NOT EXISTS DB.SCHEMA.DATA_SOURCES…\r\nDoes this mean that anyone who wishes to query the feature store has to have RW access?\r\nCan you help me understand the reasoning behind this or did I miss something?\r\nThanks!\r\n\r\nYes, Feast tries to create registry Snowflake tables if they don't exist. I've created the registry when I first ran feast apply. This block of code always executed https://github.com/feast-dev/feast/blob/9df2224283e04760116b61bed3c8bfa7f17cbf7e/sdk/python/feast/infra/registry/snowflake.py#L128\r\nwhen I run store = FeatureStore() .\r\nIn my case, this is unnecessary since I've (as a feature store admin) already created the registry.\r\nI'd like to enable users to just have the ability to query the feature store - and not give them the privileges to write to the feature store tables (if they're not developers/admins).\r\n\r\n**Describe the solution you'd like**\r\n(TBD)\r\n\r\n**Describe alternatives you've considered**\r\n(TBD)\r\n\r\n**Additional context**\r\n(TBD)\r\n","author":{"url":"https://github.com/shuchu","@type":"Person","name":"shuchu"},"datePublished":"2023-11-27T01:53:46.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/3844/feast/issues/3844"}
| 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:b0a2629a-b478-fa0e-ac11-9374ddf97be3 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8580:B4897:B8EC05:FBF843:69728E4B |
| html-safe-nonce | 1f72df7db686cd553cca24665e34643ff7b1a4fe5daef9e50b9270b36693440a |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NTgwOkI0ODk3OkI4RUMwNTpGQkY4NDM6Njk3MjhFNEIiLCJ2aXNpdG9yX2lkIjoiNTg1NjkxNDA1OTk4NTg0OTkzMiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 70b3e30ee253358ad56854914d30aa62ac5a42329e92ea2985014911de452a41 |
| hovercard-subject-tag | issue:2011343542 |
| 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/3844/issue_layout |
| twitter:image | https://opengraph.githubassets.com/b764839ecc7d8ae8cbe25fc19997d710541f2e84ee7acb255a0422093ecc44dc/feast-dev/feast/issues/3844 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/b764839ecc7d8ae8cbe25fc19997d710541f2e84ee7acb255a0422093ecc44dc/feast-dev/feast/issues/3844 |
| og:image:alt | Is your feature request related to a problem? Please describe. Based on the community user's (Zvonimir Cikojevic) feedback, we want to create a read-only feature for snowflake user who only can do ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | shuchu |
| hostname | github.com |
| expected-hostname | github.com |
| None | f55b89ef71fda443a25c469605964fe31f4313158c4238f900f8894d6f31ffa4 |
| 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 | 69ed002f93fb5a101bb3ef79e8704a63acc02bd2 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width