René's URL Explorer Experiment


Title: Materialization fails when field mappings are used to rename entity join keys (SnowflakeSource) · Issue #5942 · feast-dev/feast · GitHub

Open Graph Title: Materialization fails when field mappings are used to rename entity join keys (SnowflakeSource) · Issue #5942 · feast-dev/feast

X Title: Materialization fails when field mappings are used to rename entity join keys (SnowflakeSource) · Issue #5942 · feast-dev/feast

Description: Expected Behavior Features materialized to online store successfully, with features persisted on the online store using field_mapping values for the entity join key as names. Current Behavior Materialization fails before the offline stor...

Open Graph Description: Expected Behavior Features materialized to online store successfully, with features persisted on the online store using field_mapping values for the entity join key as names. Current Behavior Mater...

X Description: Expected Behavior Features materialized to online store successfully, with features persisted on the online store using field_mapping values for the entity join key as names. Current Behavior Mater...

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

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Materialization fails when field mappings are used to rename entity join keys (SnowflakeSource)","articleBody":"## Expected Behavior \nFeatures materialized to online store successfully, with features persisted on the online store using `field_mapping` *values* for the entity join key as names.\n\n## Current Behavior\nMaterialization fails before the offline store is queried: `KeyError: Index(['USERID'], dtype='object')`\nOnly tested on `SnowflakeSource`\n\n## Steps to reproduce\nDefine a feature source as \n```sql\ncreate view schema_name.test as (\n    select \n        current_timestamp() as EVENT_TIMESTAMP,\n        1 as USERID,\n        0.75 as FEATURE_1,\n        300 as FEATURE_2\n);\n```\n\n```python\nuser = Entity(name=\"user\", join_keys=[\"user_id\"], value_type=ValueType.STRING)\n\nfeature_source = SnowflakeSource(\n    table=\"TEST\",\n    name=\"test_features\",\n    timestamp_field=\"EVENT_TIMESTAMP\",\n    database=dbname,\n    schema=schema,\n    field_mapping={\n        \"USERID\": \"user_id\",\n        \"FEATURE_1\": \"feature_1\",\n        \"FEATURE_2\": \"feature_2\",\n    },\n)\n\nfeature_view = FeatureView(\n    name=\"test_feature_view\",\n    entities=[user],\n    schema=[\n        Field(name=\"feature_1\", dtype=types.Float32),\n        Field(name=\"feature_2\", dtype=types.Int32),\n    ],\n    online=True,\n    source=feature_source,\n)\n```\n\n### Specifications\n\n- Version: 0.58.0\n- Platform: macOS\n- Subsystem: SQLite registry, SnowflakeSource\n\n## Inconsistencies\n\n* `get_historical_features` already works with the above configuration. Materialization not working in the same way causes inconsistent and confusing behavior.\n  * Using `user_id` (field_mapping value) as an input to `get_historical_features`) The offline store is queried with \"USERID\" (field_mapping key), and the return value once again contains `user_id`. \n\n## Discussion\n\n`join_keys` arg when defining an `Entity` already provides a way to map offline store column names to feast registry field/key names, for entity keys. If this is considered the de facto way to manage source column names, than this issue can be closed. \n\nHowever I think its worth exploring. Having the renaming done at entity level means all tables in the offline store needs to use the same column name for that entity key. There might be cases where different teams refer to the same entity with different names, just because the business context is different. ","author":{"url":"https://github.com/emreakg","@type":"Person","name":"emreakg"},"datePublished":"2026-02-04T12:34:45.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/5942/feast/issues/5942"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:0f23417f-18b3-6c06-8ee0-f9ec90566ce7
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idAAEC:162B2:6E8BDB3:9BB8AC8:6A500C43
html-safe-nonceefb321060991fc8bef65691ef3a8a82b7a2ab206b347192d81b8f6cc535b15c0
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQUVDOjE2MkIyOjZFOEJEQjM6OUJCOEFDODo2QTUwMEM0MyIsInZpc2l0b3JfaWQiOiI0MTI0MjI4NDkxMDc1OTQzMDciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac7c3811026b93a04a27662ac6bba340214b52bbae0456f95f8df8b86b34f128fa
hovercard-subject-tagissue:3896329875
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/5942/issue_layout
twitter:imagehttps://opengraph.githubassets.com/f88906a57f84160e3b27c58fc393394f969b1d59de355666e1a6c0c50f2ff15f/feast-dev/feast/issues/5942
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/f88906a57f84160e3b27c58fc393394f969b1d59de355666e1a6c0c50f2ff15f/feast-dev/feast/issues/5942
og:image:altExpected Behavior Features materialized to online store successfully, with features persisted on the online store using field_mapping values for the entity join key as names. Current Behavior Mater...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameemreakg
hostnamegithub.com
expected-hostnamegithub.com
None56eec25a3430492dd6ec2a480eb33256a0da5192d5714b0db4f5ab5f33203d94
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
release93a615b89b7dcbdb6b678f4772931ecc28ada82a
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/feast-dev/feast/issues/5942#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Ffeast-dev%2Ffeast%2Fissues%2F5942
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/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/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/enterprise/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%2F5942
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/5942
Reloadhttps://github.com/feast-dev/feast/issues/5942
Reloadhttps://github.com/feast-dev/feast/issues/5942
Please reload this pagehttps://github.com/feast-dev/feast/issues/5942
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 213 https://github.com/feast-dev/feast/issues
Pull requests 176 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
#6395https://github.com/feast-dev/feast/pull/6395
Materialization fails when field mappings are used to rename entity join keys (SnowflakeSource)https://github.com/feast-dev/feast/issues/5942#top
#6395https://github.com/feast-dev/feast/pull/6395
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/emreakg
emreakghttps://github.com/emreakg
on Feb 4, 2026https://github.com/feast-dev/feast/issues/5942#issue-3896329875
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.