René's URL Explorer Experiment


Title: Calling get_historical_features for a feature service with an on_demand_feature_view expects the code locally · Issue #5620 · feast-dev/feast · GitHub

Open Graph Title: Calling get_historical_features for a feature service with an on_demand_feature_view expects the code locally · Issue #5620 · feast-dev/feast

X Title: Calling get_historical_features for a feature service with an on_demand_feature_view expects the code locally · Issue #5620 · feast-dev/feast

Description: Expected Behavior Feature retrieval should not depend on local code. This also causes issues deleting/updating the feature store via the CLI. Current Behavior If I register a feature service that uses an on_demand_feature_view and try to...

Open Graph Description: Expected Behavior Feature retrieval should not depend on local code. This also causes issues deleting/updating the feature store via the CLI. Current Behavior If I register a feature service that u...

X Description: Expected Behavior Feature retrieval should not depend on local code. This also causes issues deleting/updating the feature store via the CLI. Current Behavior If I register a feature service that u...

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

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Calling get_historical_features for a feature service with an on_demand_feature_view expects the code locally","articleBody":"## Expected Behavior \n\nFeature retrieval should not depend on local code. This also causes issues deleting/updating the feature store via the CLI.\n\n## Current Behavior\n\nIf I register a feature service that uses an `on_demand_feature_view` and try to get historical features from it I get the following error:\n\n```\nTraceback (most recent call last):\n  File \"/Users/user/Git/repo/test.py\", line 14, in \u003cmodule>\n    features = feature_store.get_historical_features(\n  File \"/Users/user/.pyenv/versions/repo/lib/python3.10/site-packages/feast/feature_store.py\", line 1171, in get_historical_features\n    ) = utils._get_feature_views_to_use(self._registry, self.project, features)\n  File \"/Users/user/.pyenv/versions/repo/lib/python3.10/site-packages/feast/utils.py\", line 1075, in _get_feature_views_to_use\n    fv = registry.get_any_feature_view(name, project, allow_cache)\n  File \"/Users/user/.pyenv/versions/repo/lib/python3.10/site-packages/feast/infra/registry/registry.py\", line 641, in get_any_feature_view\n    return proto_registry_utils.get_any_feature_view(registry_proto, name, project)\n  File \"/Users/user/.pyenv/versions/repo/lib/python3.10/site-packages/feast/infra/registry/proto_registry_utils.py\", line 92, in wrapper\n    value = func(registry_proto, name, project)\n  File \"/Users/user/.pyenv/versions/repo/lib/python3.10/site-packages/feast/infra/registry/proto_registry_utils.py\", line 145, in get_any_feature_view\n    return OnDemandFeatureView.from_proto(on_demand_feature_view)\n  File \"/Users/user/.pyenv/versions/repo/lib/python3.10/site-packages/feast/on_demand_feature_view.py\", line 393, in from_proto\n    transformation = PandasTransformation.from_proto(\n  File \"/Users/user/.pyenv/versions/repo/lib/python3.10/site-packages/feast/transformation/pandas_transformation.py\", line 150, in from_proto\n    udf=dill.loads(user_defined_function_proto.body),\n  File \"/Users/user/.pyenv/versions/repo/lib/python3.10/site-packages/dill/_dill.py\", line 311, in loads\n    return load(file, ignore, **kwds)\n  File \"/Users/user/.pyenv/versions/repo/lib/python3.10/site-packages/dill/_dill.py\", line 297, in load\n    return Unpickler(file, ignore=ignore, **kwds).load()\n  File \"/Users/user/.pyenv/versions/repo/lib/python3.10/site-packages/dill/_dill.py\", line 452, in load\n    obj = StockUnpickler.load(self)\n  File \"/Users/user/.pyenv/versions/repo/lib/python3.10/site-packages/dill/_dill.py\", line 442, in find_class\n    return StockUnpickler.find_class(self, module, name)\nModuleNotFoundError: No module named 'feature_services'\n```\n\nI don't get this error if I'm running it from a location that it can find this module, but of course we want to deploy this feature service to the feature store and call it from elsewhere.\n\n## Steps to reproduce\n\nI am using a Redshift Offline Source.\n\nfeature service code:\n\n```python\nmerchandisability_feature_store = FeatureService(\n    name=\"merchandisability\",\n    features=[\n        artwork_inquiries_feature_view,\n        artwork_metadata_feature_view,\n        artist_metadata_feature_view,\n        partner_metadata_feature_view,\n        purchase_metadata_feature_view,\n        artwork_age, \u003c-- on demand feature view\n    ],\n)\n```\n\nand I try to get features like so:\n\n```python\ndf = pd.DataFrame.from_dict(\n    {\"user_id\": [\"user1\"], \"event_timestamp\": datetime.now()}\n)\nfeature_service = feature_store.get_feature_service(\"merchandisability\")\nfeatures = feature_store.get_historical_features(\n    features=feature_service,\n    entity_df=df,\n)\n```\n\n### Specifications\n\n- Version: 0.53.0\n- Platform: MacOS 15.4.1\n- Subsystem:\n\n## Possible Solution\n\n🤷 ","author":{"url":"https://github.com/amonkhouse","@type":"Person","name":"amonkhouse"},"datePublished":"2025-09-17T11:15:54Z","url":"https://github.com/feast-dev/feast/issues/5620"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:35716a56-a3ae-7ffd-ce7b-3fde88a1d756
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idC660:202219:236F96:30C54E:6AFE952D
html-safe-nonce369e14bdd72f650ad6e97fe39c3548cdd26a438b50113bad971d6f6f6033be76
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNjYwOjIwMjIxOToyMzZGOTY6MzBDNTRFOjZBRkU5NTJEIiwidmlzaXRvcl9pZCI6IjcyMjE3ODU2MjA3ODYzNTM0NTMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmaca7198561ee0eaa8f3ff990d96cee6c5cb1ecd7762aaa09dafa15609e82e9c063
hovercard-subject-tagissue:3425839987
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/5620/issue_layout
twitter:imagehttps://opengraph.githubassets.com/aa7ba8b186156a9fac3f61559b7fc451163da4d877105fcd51956ab23fd848ae/feast-dev/feast/issues/5620
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/aa7ba8b186156a9fac3f61559b7fc451163da4d877105fcd51956ab23fd848ae/feast-dev/feast/issues/5620
og:image:altExpected Behavior Feature retrieval should not depend on local code. This also causes issues deleting/updating the feature store via the CLI. Current Behavior If I register a feature service that u...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameamonkhouse
hostnamegithub.com
expected-hostnamegithub.com
Noneb3c0f155eafc27e60db6e254d1ffff0e072e9ab3b4018a5ee518797c19d89f86
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
release4a10310af51a1bfffbedc4fd81cb582acf0cb0ff
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/feast-dev/feast/issues/5620#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Ffeast-dev%2Ffeast%2Fissues%2F5620
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
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
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://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/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Ffeast-dev%2Ffeast%2Fissues%2F5620
Sign uphttps://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/5620
Reloadhttps://github.com/feast-dev/feast/issues/5620
Reloadhttps://github.com/feast-dev/feast/issues/5620
feast-devhttps://github.com/feast-dev
feasthttps://github.com/feast-dev/feast
Codehttps://github.com/feast-dev/feast
Issues223 (223)https://github.com/feast-dev/feast/issues
Pull requests143 (143)https://github.com/feast-dev/feast/pulls
Discussionshttps://github.com/feast-dev/feast/discussions
Actionshttps://github.com/feast-dev/feast/actions
Security and quality1 (1)https://github.com/feast-dev/feast/security
Insightshttps://github.com/feast-dev/feast/insights
https://github.com/feast-dev/feast
New issuehttps://github.com/login?return_to=https://github.com/feast-dev/feast/issues/5620
New issuehttps://github.com/login?return_to=https://github.com/feast-dev/feast/issues/5620
Calling get_historical_features for a feature service with an on_demand_feature_view expects the code locallyhttps://github.com/feast-dev/feast/issues/5620#top
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/amonkhouse
amonkhousehttps://github.com/amonkhouse
on Sep 17, 2025https://github.com/feast-dev/feast/issues/5620#issue-3425839987
amonkhousehttps://github.com/amonkhouse
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
on Sep 17, 2025https://github.com/feast-dev/feast/issues/5620#event-19747918165
https://github.com/BigyaPradhan
BigyaPradhanhttps://github.com/BigyaPradhan
on Oct 2, 2025https://github.com/feast-dev/feast/issues/5620#issuecomment-3361308765
https://github.com/adarshsm
adarshsmhttps://github.com/adarshsm
on Jul 30, 2026https://github.com/feast-dev/feast/issues/5620#issuecomment-5129155747
Sign up for freehttps://github.com/signup?return_to=https://github.com/feast-dev/feast/issues/5620
Sign in to commenthttps://github.com/login?return_to=https://github.com/feast-dev/feast/issues/5620
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.