Title: Bug: On-Demand Feature Views (ODFV) on-write transformations not persisting · Issue #5430 · feast-dev/feast · GitHub
Open Graph Title: Bug: On-Demand Feature Views (ODFV) on-write transformations not persisting · Issue #5430 · feast-dev/feast
X Title: Bug: On-Demand Feature Views (ODFV) on-write transformations not persisting · Issue #5430 · feast-dev/feast
Description: Expected Behavior On-write transformations in On-Demand Feature Views (ODFV) should be triggered when data is pushed to the online store using: store.push() store.write_to_online_store() materialize() This worked correctly in Feast versi...
Open Graph Description: Expected Behavior On-write transformations in On-Demand Feature Views (ODFV) should be triggered when data is pushed to the online store using: store.push() store.write_to_online_store() materializ...
X Description: Expected Behavior On-write transformations in On-Demand Feature Views (ODFV) should be triggered when data is pushed to the online store using: store.push() store.write_to_online_store() materializ...
Opengraph URL: https://github.com/feast-dev/feast/issues/5430
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Bug: On-Demand Feature Views (ODFV) on-write transformations not persisting","articleBody":"## Expected Behavior\n\nOn-write transformations in On-Demand Feature Views (ODFV) should be triggered when data is pushed to the online store using:\n\n* `store.push()`\n* `store.write_to_online_store()`\n* `materialize()`\n\nThis worked correctly in Feast version 0.43.\n\n## Current Behavior\n\nSince Feast version 0.43, only the on-read transformations are triggered. On-write transformations do not update the online store as expected - the values remain `None`. The tested versions are 0.43,0.44,0.45,0.46,0.47,0.49 with a Python 3.10.3 venv, that contains only the dependencies of feast[redis,postgres].\n\n## Steps to Reproduce\n\nI have created a minimal repo demonstrating this issue:\n [https://github.com/j-wine/feast-odfv-user-test](https://github.com/j-wine/feast-odfv-user-test)\n\nThe repo uses a dockerized environment with:\n\n* Python 3.10\n* Feast 0.49\n\nThe test script performs:\n\n1. `push()` to FeatureViews\n2. `get_online_features()` - shows ODFV on-read works, but on-write values are `None`\n3. `write_to_online_store()` - no change for on-write values\n4. `materialize()` - still no change\n\n### Example Output on Feast 0.49:\n\n```\nstep 1: Push to basic FeatureViews\n\nstep 2: get_online_features post Push\nproduct_id customer_id price_plus_revenue revenue_plus_one price_plus_rev\n0 58 74 None None 50.0\n\nstep 3: write_to_online_store into basic feature view\nres write_to_online:\nproduct_id customer_id price_plus_revenue revenue_plus_one price_plus_rev\n0 58 74 None None 50.0\n\nStep 3: materialization\n...\nStep 4: get_online_features post materialization\nproduct_id customer_id price_plus_revenue revenue_plus_one price_plus_rev\n0 58 74 None None 50.0\n\nComparison Write-Time vs. Read-Time ODFV\nprice_plus_revenue: Missing (value: None)\nrevenue_plus_one: Missing (value: None)\n```\n\n### Behavior in Feast 0.43:\n\nRunning the same test script with Feast 0.43 produces correct results - on-write transformations populate values properly. (Except for an old bug when using more than one entity in a fsv)\n\n## Specifications\n\n* Version: 0.49 \n* Platform: Docker, Python 3.10.13, Ubuntu LTS / Ubuntu WSL\n* Subsystem: ODFV on-write transformations\n\n## Possible Solution\n\nSuspected cause (based on discussion with Francisco and my debugging):\n\n* Integration tests might not fully cover this case.\n* Potential gap in unit tests for on-write transformations.\n\n\n## Additional Context\nFrancisco confirmed unit tests pass but suspects an edge case.","author":{"url":"https://github.com/jfw-ppi","@type":"Person","name":"jfw-ppi"},"datePublished":"2025-06-07T17:38:28.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/5430/feast/issues/5430"}
| 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:ae37dff2-a4af-2649-d04a-be4596012a78 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | BC14:272EFE:120A889C:12707712:696E9CB3 |
| html-safe-nonce | 713921f1bcaf2e19fb576fd20ca73245fe5687eec7b48bdbda54a9ae477e3229 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQzE0OjI3MkVGRToxMjBBODg5QzoxMjcwNzcxMjo2OTZFOUNCMyIsInZpc2l0b3JfaWQiOiI3MjY2OTUzMDEyOTY4MzMyNDY3IiwicmVnaW9uX2VkZ2UiOiJzZWEiLCJyZWdpb25fcmVuZGVyIjoic2VhIn0= |
| visitor-hmac | a5f607bc1d3e1e41b12162f427cd235db5fa6f732a2d41cc1410473681696079 |
| hovercard-subject-tag | issue:3127303652 |
| 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/5430/issue_layout |
| twitter:image | https://opengraph.githubassets.com/92f8db22deca0a6539859c1f3d6ea015573ce5249c8dc896852ad3e4ae430cf5/feast-dev/feast/issues/5430 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/92f8db22deca0a6539859c1f3d6ea015573ce5249c8dc896852ad3e4ae430cf5/feast-dev/feast/issues/5430 |
| og:image:alt | Expected Behavior On-write transformations in On-Demand Feature Views (ODFV) should be triggered when data is pushed to the online store using: store.push() store.write_to_online_store() materializ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | jfw-ppi |
| hostname | github.com |
| expected-hostname | github.com |
| None | fdad15fd2ad43212aa8b8be5f2c2725550f8374ceeeb154a999ad9145b43f3f7 |
| 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 | 27b23bc056eb973d350fc95afc848757edb9e7a9 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width