Title: OnDemandFeatureView (pandas/python mode) UDF receives all response columns, not just declared sources · Issue #6158 · feast-dev/feast · GitHub
Open Graph Title: OnDemandFeatureView (pandas/python mode) UDF receives all response columns, not just declared sources · Issue #6158 · feast-dev/feast
X Title: OnDemandFeatureView (pandas/python mode) UDF receives all response columns, not just declared sources · Issue #6158 · feast-dev/feast
Description: Expected Behavior When an OnDemandFeatureView (ODFV) is defined with a specific sources list, the UDF passed to it should only receive columns that belong to the declared sources. Accessing columns outside the declared sources should eit...
Open Graph Description: Expected Behavior When an OnDemandFeatureView (ODFV) is defined with a specific sources list, the UDF passed to it should only receive columns that belong to the declared sources. Accessing columns...
X Description: Expected Behavior When an OnDemandFeatureView (ODFV) is defined with a specific sources list, the UDF passed to it should only receive columns that belong to the declared sources. Accessing columns...
Opengraph URL: https://github.com/feast-dev/feast/issues/6158
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"OnDemandFeatureView (pandas/python mode) UDF receives all response columns, not just declared sources","articleBody":"## Expected Behavior\nWhen an OnDemandFeatureView (ODFV) is defined with a specific sources list, the UDF passed to it should only receive columns that belong to the declared sources. Accessing columns outside the declared sources should either raise an error or be impossible. \n\n## Current Behavior\nIn pandas and python transformation modes, the UDF receives all feature columns present in the offline response at call time — including features from feature views that are not declared in sources. This means the UDF can silently depend on undeclared sources without any warning or error.\n\n## Steps to reproduce\n1. Define two feature views fv1 and fv2.\n2. Define an ODFV with sources=[fv1] (mode pandas or python).\n3. Write a UDF that reads a column belonging to fv2.\n4. Call get_online_features requesting features from both fv1, fv2, and the ODFV simultaneously.\n5. Observe that the UDF runs without error and silently uses the undeclared fv2 column.\n\n### Specifications\n\n- Version: latest\n- Platform: all\n- Subsystem: OnDemandFeatureView, PandasTransformation, PythonTransformation\n\n## Possible Solution\n","author":{"url":"https://github.com/cutoutsy","@type":"Person","name":"cutoutsy"},"datePublished":"2026-03-26T06:26:58Z","url":"https://github.com/feast-dev/feast/issues/6158"}
| react-profiling | 0 |
| react-import-map | react,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-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:a1cbb7db-9ea9-a978-6289-96fd09c60fff |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E7BC:30C434:E37DF0:13959E2:6AFE981C |
| html-safe-nonce | 1be786d0a5c942579eb5d8e7cc815a5f2b9bd841d5f969af4862383cd5a19ffb |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFN0JDOjMwQzQzNDpFMzdERjA6MTM5NTlFMjo2QUZFOTgxQyIsInZpc2l0b3JfaWQiOiI4NTY2MDA1NTA5OTIyOTIwNDc2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 8c43c16fa33e5979fa63a33ac2c99e3ea4defc88aa329957a8f82e55a8862883 |
| hovercard-subject-tag | issue:4141051385 |
| 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/6158/issue_layout |
| twitter:image | https://opengraph.githubassets.com/720e6924ba4c04288f312e7d39411b3db92fee93acb6ea9bf7003441cd3dcfcb/feast-dev/feast/issues/6158 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/720e6924ba4c04288f312e7d39411b3db92fee93acb6ea9bf7003441cd3dcfcb/feast-dev/feast/issues/6158 |
| og:image:alt | Expected Behavior When an OnDemandFeatureView (ODFV) is defined with a specific sources list, the UDF passed to it should only receive columns that belong to the declared sources. Accessing columns... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | cutoutsy |
| hostname | github.com |
| expected-hostname | github.com |
| None | b3c0f155eafc27e60db6e254d1ffff0e072e9ab3b4018a5ee518797c19d89f86 |
| 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 | 4a10310af51a1bfffbedc4fd81cb582acf0cb0ff |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width