René's URL Explorer Experiment


Title: Snowflake Registry does not work · Issue #5204 · feast-dev/feast · GitHub

Open Graph Title: Snowflake Registry does not work · Issue #5204 · feast-dev/feast

X Title: Snowflake Registry does not work · Issue #5204 · feast-dev/feast

Description: Expected Behavior when setting registry_type: snowflake.registry, i would expect it creates corresponding tables in specified snowflake database, and add defined entities / views etc. to the tables. https://docs.feast.dev/reference/regis...

Open Graph Description: Expected Behavior when setting registry_type: snowflake.registry, i would expect it creates corresponding tables in specified snowflake database, and add defined entities / views etc. to the tables...

X Description: Expected Behavior when setting registry_type: snowflake.registry, i would expect it creates corresponding tables in specified snowflake database, and add defined entities / views etc. to the tables...

Opengraph URL: https://github.com/feast-dev/feast/issues/5204

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Snowflake Registry does not work","articleBody":"## Expected Behavior \nwhen setting registry_type: snowflake.registry, i would expect it creates corresponding tables in specified snowflake database, and add defined entities / views etc. to the tables.\nhttps://docs.feast.dev/reference/registries/snowflake\nregistry:\n  registry_type: snowflake.registry\n  account: snowflake_deployment.us-east-1\n  user: user_login\n  password: user_password\n  role: SYSADMIN\n  warehouse: COMPUTE_WH\n  database: FEAST\n  schema: PUBLIC\n  cache_ttl_seconds: 60\n\n## Current Behavior\nwhen run feast apply, i get error as below when creating snowflake registry tables (all tables are created already though, seems like there is an extra ':' at the end of the provided .sql receipt for snowflake registry ):\n\u003e (test_feast) macuser@Mac test_feast % feast apply\n```\n/Users/macuser/miniconda3/envs/test_feast/lib/python3.10/site-packages/pydantic/_internal/_fields.py:198: UserWarning: Field name \"vector_enabled\" in \"SqliteOnlineStoreConfig\" shadows an attribute in parent \"VectorStoreConfig\"\n  warnings.warn(\n/Users/macuser/miniconda3/envs/test_feast/lib/python3.10/site-packages/pydantic/_internal/_fields.py:198: UserWarning: Field name \"vector_len\" in \"SqliteOnlineStoreConfig\" shadows an attribute in parent \"VectorStoreConfig\"\n  warnings.warn(\n/Users/macuser/Desktop/Pilot/test_feast/example_repo.py:27: DeprecationWarning: Entity value_type will be mandatory in the next release. Please specify a value_type for entity 'driver'.\n  driver = Entity(name=\"driver\", join_keys=[\"driver_id\"])\n**Traceback** (most recent call last):\n  File \"/Users/macuser/miniconda3/envs/test_feast/bin/feast\", line 8, in \u003cmodule\u003e\n    sys.exit(cli())\n  File \"/Users/macuser/miniconda3/envs/test_feast/lib/python3.10/site-packages/click/core.py\", line 1161, in __call__\n    return self.main(*args, **kwargs)\n  File \"/Users/macuser/miniconda3/envs/test_feast/lib/python3.10/site-packages/click/core.py\", line 1082, in main\n    rv = self.invoke(ctx)\n  File \"/Users/macuser/miniconda3/envs/test_feast/lib/python3.10/site-packages/click/core.py\", line 1697, in invoke\n    return _process_result(sub_ctx.command.invoke(sub_ctx))\n  File \"/Users/macuser/miniconda3/envs/test_feast/lib/python3.10/site-packages/click/core.py\", line 1443, in invoke\n    return ctx.invoke(self.callback, **ctx.params)\n  File \"/Users/macuser/miniconda3/envs/test_feast/lib/python3.10/site-packages/click/core.py\", line 788, in invoke\n    return __callback(*args, **kwargs)\n  File \"/Users/macuser/miniconda3/envs/test_feast/lib/python3.10/site-packages/click/decorators.py\", line 33, in new_func\n    return f(get_current_context(), *args, **kwargs)\n  File \"/Users/macuser/miniconda3/envs/test_feast/lib/python3.10/site-packages/feast/cli.py\", line 778, in apply_total_command\n    apply_total(repo_config, repo, skip_source_validation)\n  File \"/Users/macuser/miniconda3/envs/test_feast/lib/python3.10/site-packages/feast/repo_operations.py\", line 396, in apply_total\n    store, registry = _get_store_and_registry(repo_config)\n  File \"/Users/macuser/miniconda3/envs/test_feast/lib/python3.10/site-packages/feast/repo_operations.py\", line 274, in _get_store_and_registry\n    store = FeatureStore(config=repo_config)\n  File \"/Users/macuser/miniconda3/envs/test_feast/lib/python3.10/site-packages/feast/feature_store.py\", line 160, in __init__\n    self._registry = SnowflakeRegistry(\n  File \"/Users/macuser/miniconda3/envs/test_feast/lib/python3.10/site-packages/feast/infra/registry/snowflake.py\", line 146, in __init__\n    execute_snowflake_statement(conn, query)\n  File \"/Users/macuser/miniconda3/envs/test_feast/lib/python3.10/site-packages/feast/infra/utils/snowflake/snowflake_utils.py\", line 128, in execute_snowflake_statement\n    raise SnowflakeQueryUnknownError(query)\nfeast.errors.SnowflakeQueryUnknownError: Snowflake query failed: \n```\n\n## Steps to reproduce\n```\nconda create --name testenv\nconda install python==3.10\npip install 'feast[snowflake]'\nfeast init\ncd 'project_name'\nfeast apply\n```\n\n### Specifications\n- Version:\n```\nPython 3.10.16\nfeast                      0.47.0\n```\n- Platform:\ngot same issue on MacBook and windows.\n- Subsystem:\n\n## Possible Solution\nif i manually remove the ':' in feast lib in my local environment for file `feast/infra/utils/snowflake/registry/snowflake_table_creation.sql`, there will be a different error for `feast apply`:\n```\n  File \"/Users/macuser/miniconda3/envs/test_feast/lib/python3.10/site-packages/feast/infra/registry/snowflake.py\", line 176, in _sync_feast_metadata_to_projects_table\n    feast_metadata_projects.add(row[1][\"PROJECT_ID\"])\nAttributeError: 'list' object has no attribute 'add'\n```\nif i change line 166 and 167 in `infra.registry.snowflake.py`\ninto \n```\n    def _sync_feast_metadata_to_projects_table(self):\n        feast_metadata_projects: set = set()\n        projects_set: set = set()\n```\nit will give me a new error:\n```\nKeyError: 'project_proto'\n```\nif i change line 1360 in `infra.registry.snowflake.py` to `ProjectProto.FromString(row[1][\"PROJECT_PROTO\"])` instead of `ProjectProto.FromString(row[1][\"project_proto\"])` will get a different error\n`AttributeError: 'SnowflakeRegistry' object has no attribute '_refresh_lock'`\n\nThen i stop trying. \n\nAm i using the snowflake registry in the right way? and guidance is appreciated.","author":{"url":"https://github.com/qianyao11","@type":"Person","name":"qianyao11"},"datePublished":"2025-04-01T15:04:20.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":3},"url":"https://github.com/5204/feast/issues/5204"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:260e1320-be76-5703-7cf3-e1e12e9ea85a
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id90C8:2C37E4:2B87AD:4016D1:6A4E0230
html-safe-nonce0a08fb38697549b47da9367a8adbcb61269f771a6c0dfab962d9351f91bb05ab
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MEM4OjJDMzdFNDoyQjg3QUQ6NDAxNkQxOjZBNEUwMjMwIiwidmlzaXRvcl9pZCI6IjIzMzEyNjk1Njk1NzY4Mjk0ODgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac03daf80d273892408636ea5d210cd228f6cc6ddec4c4588a2f893e7ffd8e6417
hovercard-subject-tagissue:2963737246
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/feast-dev/feast/5204/issue_layout
twitter:imagehttps://opengraph.githubassets.com/d4b7db931da2f6b7f21d14e30a885aeef98f32d79b42572701c073c98db8c3ae/feast-dev/feast/issues/5204
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/d4b7db931da2f6b7f21d14e30a885aeef98f32d79b42572701c073c98db8c3ae/feast-dev/feast/issues/5204
og:image:altExpected Behavior when setting registry_type: snowflake.registry, i would expect it creates corresponding tables in specified snowflake database, and add defined entities / views etc. to the tables...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameqianyao11
hostnamegithub.com
expected-hostnamegithub.com
Nonedf0492960db29b4938cb72070351d6b1d0c6c0767b27ceb8394bbf4fcc0223c6
turbo-cache-controlno-preview
go-importgithub.com/feast-dev/feast git https://github.com/feast-dev/feast.git
octolytics-dimension-user_id57027613
octolytics-dimension-user_loginfeast-dev
octolytics-dimension-repository_id161133770
octolytics-dimension-repository_nwofeast-dev/feast
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id161133770
octolytics-dimension-repository_network_root_nwofeast-dev/feast
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release52bde38e24398476f8eb1e0760c81346c6a00812
ui-targetcanary-2
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/feast-dev/feast/issues/5204#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Ffeast-dev%2Ffeast%2Fissues%2F5204
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Ffeast-dev%2Ffeast%2Fissues%2F5204
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=feast-dev%2Ffeast
Reloadhttps://github.com/feast-dev/feast/issues/5204
Reloadhttps://github.com/feast-dev/feast/issues/5204
Reloadhttps://github.com/feast-dev/feast/issues/5204
Please reload this pagehttps://github.com/feast-dev/feast/issues/5204
feast-dev https://github.com/feast-dev
feasthttps://github.com/feast-dev/feast
Notifications https://github.com/login?return_to=%2Ffeast-dev%2Ffeast
Fork 1.4k https://github.com/login?return_to=%2Ffeast-dev%2Ffeast
Star 7.1k https://github.com/login?return_to=%2Ffeast-dev%2Ffeast
Code https://github.com/feast-dev/feast
Issues 212 https://github.com/feast-dev/feast/issues
Pull requests 171 https://github.com/feast-dev/feast/pulls
Discussions https://github.com/feast-dev/feast/discussions
Actions https://github.com/feast-dev/feast/actions
Security and quality 1 https://github.com/feast-dev/feast/security
Insights https://github.com/feast-dev/feast/pulse
Code https://github.com/feast-dev/feast
Issues https://github.com/feast-dev/feast/issues
Pull requests https://github.com/feast-dev/feast/pulls
Discussions https://github.com/feast-dev/feast/discussions
Actions https://github.com/feast-dev/feast/actions
Security and quality https://github.com/feast-dev/feast/security
Insights https://github.com/feast-dev/feast/pulse
#6315https://github.com/feast-dev/feast/pull/6315
#6249https://github.com/feast-dev/feast/pull/6249
Snowflake Registry does not workhttps://github.com/feast-dev/feast/issues/5204#top
#6315https://github.com/feast-dev/feast/pull/6315
#6249https://github.com/feast-dev/feast/pull/6249
kind/bughttps://github.com/feast-dev/feast/issues?q=state%3Aopen%20label%3A%22kind%2Fbug%22
priority/p2https://github.com/feast-dev/feast/issues?q=state%3Aopen%20label%3A%22priority%2Fp2%22
https://github.com/qianyao11
qianyao11https://github.com/qianyao11
on Apr 1, 2025https://github.com/feast-dev/feast/issues/5204#issue-2963737246
https://docs.feast.dev/reference/registries/snowflakehttps://docs.feast.dev/reference/registries/snowflake
kind/bughttps://github.com/feast-dev/feast/issues?q=state%3Aopen%20label%3A%22kind%2Fbug%22
priority/p2https://github.com/feast-dev/feast/issues?q=state%3Aopen%20label%3A%22priority%2Fp2%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.