René's URL Explorer Experiment


Title: SQL Registry is broken due to caching · Issue #3445 · feast-dev/feast · GitHub

Open Graph Title: SQL Registry is broken due to caching · Issue #3445 · feast-dev/feast

X Title: SQL Registry is broken due to caching · Issue #3445 · feast-dev/feast

Description: Expected Behavior SQL registry works Current Behavior When calling feature_store.get_online_features(), we should get back the features. Steps to reproduce Use any SQL registry and call feature_store.get_online_features(). Traceback (apo...

Open Graph Description: Expected Behavior SQL registry works Current Behavior When calling feature_store.get_online_features(), we should get back the features. Steps to reproduce Use any SQL registry and call feature_sto...

X Description: Expected Behavior SQL registry works Current Behavior When calling feature_store.get_online_features(), we should get back the features. Steps to reproduce Use any SQL registry and call feature_sto...

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

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"SQL Registry is broken due to caching","articleBody":"## Expected Behavior \r\nSQL registry works\r\n\r\n## Current Behavior\r\nWhen calling `feature_store.get_online_features()`, we should get back the features.\r\n\r\n## Steps to reproduce\r\nUse any SQL registry and call `feature_store.get_online_features()`. \r\n\r\nTraceback (apologies for the REDACTED stuff, that has to do with Databricks redacting some stuff which it thinks are secrets:\r\n\r\n```python\r\n/databricks/python/lib/python3.8/site-packages/feast/usage.py in wrapper(*args, **kwargs)\r\n    297 \r\n    298                 if traceback:\r\n--\u003e 299                     raise exc.with_traceback(traceback)\r\n    300 \r\n    301                 raise exc\r\n\r\n/databricks/python/lib/python3.8/site-packages/feast/usage.py in wrapper(*args, **kwargs)\r\n    286 \r\n    287             try:\r\n--\u003e 288                 return func(*args, **kwargs)\r\n    289             except Exception:\r\n    290                 if ctx.exception:\r\n\r\n/databricks/python/lib/python3.8/site-packages/feast/feature_store.py in get_online_features(self, features, entity_rows, full_feature_names)\r\n   1586                     raise ValueError(\"All entity_rows must have the same keys.\") from e\r\n   1587 \r\n-\u003e 1588         return self._get_online_features(\r\n   1589             features=features,\r\n   1590             entity_values=columnar,\r\n\r\n/databricks/python/lib/python3.8/site-packages/feast/feature_store.py in _get_online_features(self, features, entity_values, full_feature_names, native_entity_values)\r\n   1654             requested_request_feature_views,\r\n   1655             requested_on_demand_feature_views,\r\n-\u003e 1656         ) = self._get_feature_views_to_use(\r\n   1657             features=features, allow_cache=True, hide_dummy_entity=False\r\n   1658         )\r\n\r\n/databricks/python/lib/python3.8/site-packages/feast/feature_store.py in _get_feature_views_to_use(self, features, allow_cache, hide_dummy_entity)\r\n   2203             fv.name: fv\r\n   2204             for fv in [\r\n-\u003e 2205                 *self._list_feature_views(allow_cache, hide_dummy_entity),\r\n   2206                 *self._[REDACTED].list_stream_feature_views(\r\n   2207                     project=self.project, allow_cache=allow_cache\r\n\r\n/databricks/python/lib/python3.8/site-packages/feast/feature_store.py in _list_feature_views(self, allow_cache, hide_dummy_entity)\r\n    287     ) -\u003e List[FeatureView]:\r\n    288         feature_views = []\r\n--\u003e 289         for fv in self._[REDACTED].list_feature_views(\r\n    290             self.project, allow_cache=allow_cache\r\n    291         ):\r\n\r\n/databricks/python/lib/python3.8/site-packages/feast/infra/[REDACTED]/sql.py in list_feature_views(self, project, allow_cache)\r\n    535     ) -\u003e List[FeatureView]:\r\n    536         if allow_cache:\r\n--\u003e 537             self._refresh_cached_[REDACTED]_if_necessary()\r\n    538             return proto_[REDACTED]_utils.list_feature_views(\r\n    539                 self.cached_[REDACTED]_proto, project\r\n\r\n/databricks/python/lib/python3.8/site-packages/feast/infra/[REDACTED]/sql.py in _refresh_cached_[REDACTED]_if_necessary(self)\r\n    232 \r\n    233             if expired:\r\n--\u003e 234                 self.refresh()\r\n    235 \r\n    236     def get_stream_feature_view(\r\n\r\nTypeError: refresh() missing 1 required positional argument: 'project'\r\n```\r\n\r\nThis seems to be caused by triggering a refresh of the registry cache, which expects a `project` parameter, which type hint states that it is optional, but because the method spec does not define a default value, will require a value to be passed in. However, this value is not passed in, causing `self.refresh()` to fail.\r\n\r\n## Possible Solution\r\nIn https://github.com/feast-dev/feast/blob/master/sdk/python/feast/infra/registry/sql.py#L234, change `self.refresh()` to `self.refresh(None)`. Alternatively, change the `refresh` method to have a default value for the `project` parameter (not sure why the parameter is required; it doesn't seem to be used).","author":{"url":"https://github.com/jiewpeng","@type":"Person","name":"jiewpeng"},"datePublished":"2023-01-12T04:17:41.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":5},"url":"https://github.com/3445/feast/issues/3445"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:f10deb0d-2dc8-7a45-9081-31fe3c46399e
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idEC38:1381AE:2EF7B88:4206036:69791D96
html-safe-nonce31a9d6f6a25d688efde678909974428856ad55f25b7e2cd1fdb1c91c444ac2cd
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQzM4OjEzODFBRToyRUY3Qjg4OjQyMDYwMzY6Njk3OTFEOTYiLCJ2aXNpdG9yX2lkIjoiNzk1Njg1ODQzNzI2ODc0MTUyNiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac64fe72f1ac7d3d73e886dc8ebd465efabdd28b54bf140fe78ad9455ef9d44788
hovercard-subject-tagissue:1530071434
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/3445/issue_layout
twitter:imagehttps://opengraph.githubassets.com/49244e8f8ce02a64f075afce2b2b20d57fd055cc43272af7b3c76d408b049f65/feast-dev/feast/issues/3445
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/49244e8f8ce02a64f075afce2b2b20d57fd055cc43272af7b3c76d408b049f65/feast-dev/feast/issues/3445
og:image:altExpected Behavior SQL registry works Current Behavior When calling feature_store.get_online_features(), we should get back the features. Steps to reproduce Use any SQL registry and call feature_sto...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamejiewpeng
hostnamegithub.com
expected-hostnamegithub.com
None3c7f9dd0916337a11e6ea9c7a54b96960b654425bd4240b9643d6c3af745492e
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
releasea2ee5467a024047ab777ae5b5b3ee378f2e75635
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/feast-dev/feast/issues/3445#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Ffeast-dev%2Ffeast%2Fissues%2F3445
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
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
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
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%2F3445
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/3445
Reloadhttps://github.com/feast-dev/feast/issues/3445
Reloadhttps://github.com/feast-dev/feast/issues/3445
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.2k https://github.com/login?return_to=%2Ffeast-dev%2Ffeast
Star 6.7k https://github.com/login?return_to=%2Ffeast-dev%2Ffeast
Code https://github.com/feast-dev/feast
Issues 181 https://github.com/feast-dev/feast/issues
Pull requests 67 https://github.com/feast-dev/feast/pulls
Discussions https://github.com/feast-dev/feast/discussions
Actions https://github.com/feast-dev/feast/actions
Security 0 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 https://github.com/feast-dev/feast/security
Insights https://github.com/feast-dev/feast/pulse
New issuehttps://github.com/login?return_to=https://github.com/feast-dev/feast/issues/3445
New issuehttps://github.com/login?return_to=https://github.com/feast-dev/feast/issues/3445
#3450https://github.com/feast-dev/feast/pull/3450
SQL Registry is broken due to cachinghttps://github.com/feast-dev/feast/issues/3445#top
#3450https://github.com/feast-dev/feast/pull/3450
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/jiewpeng
https://github.com/jiewpeng
jiewpenghttps://github.com/jiewpeng
on Jan 12, 2023https://github.com/feast-dev/feast/issues/3445#issue-1530071434
https://github.com/feast-dev/feast/blob/master/sdk/python/feast/infra/registry/sql.py#L234https://github.com/feast-dev/feast/blob/master/sdk/python/feast/infra/registry/sql.py#L234
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.