René's URL Explorer Experiment


Title: Add DynamoDB in-place list update support for array-based features · Issue #5687 · feast-dev/feast · GitHub

Open Graph Title: Add DynamoDB in-place list update support for array-based features · Issue #5687 · feast-dev/feast

X Title: Add DynamoDB in-place list update support for array-based features · Issue #5687 · feast-dev/feast

Description: Is your feature request related to a problem? Please describe. When working with array-based features that represent sequences of past events per entity (e.g., last N transactions, recent interactions, rolling window of measurements), th...

Open Graph Description: Is your feature request related to a problem? Please describe. When working with array-based features that represent sequences of past events per entity (e.g., last N transactions, recent interacti...

X Description: Is your feature request related to a problem? Please describe. When working with array-based features that represent sequences of past events per entity (e.g., last N transactions, recent interacti...

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

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Add DynamoDB in-place list update support for array-based features","articleBody":"**Is your feature request related to a problem? Please describe.**\n\nWhen working with array-based features that represent sequences of past events per entity (e.g., last N transactions, recent interactions, rolling window of measurements), the current `write_to_online_store` implementation requires completely replacing the entire feature set for each entity. This is inefficient for use cases where you want to append new events to existing arrays, as it requires:\n\n1. Reading the current array via `get_online_features`\n2. Modifying it in application code (append, prepend, or maintain sliding window)\n3. Writing the entire updated array back via `write_to_online_store`\n\nFor DynamoDB specifically, this doesn't leverage the native `UpdateItem` operation with `list_append` expressions, which would be more efficient and atomic.\n\n**Describe the solution you'd like**\n\nAdd optional partial update support to the DynamoDB online store that allows in-place list operations. This could be implemented as:\n\n1. **New method in DynamoDB online store**: `update_online_store` or extend `write_to_online_store` with an `update_mode` parameter\n2. **Support for update expressions**: Allow specifying DynamoDB update expressions like:\n   - `list_append(feature_array, :new_values)` - append to end\n   - `list_append(:new_values, feature_array)` - prepend to beginning  \n   - Custom expressions for more complex operations\n\n**Example API:**\n\n```python\n# Option 1: New method\nstore.update_online_store(\n    feature_view_name=\"user_events\",\n    entity_keys=[{\"user_id\": \"123\"}],\n    updates={\n        \"recent_transactions\": {\n            \"operation\": \"list_append\",\n            \"values\": [new_transaction_dict]\n        }\n    }\n)\n\n# Option 2: Extended write_to_online_store\nstore.write_to_online_store(\n    feature_view_name=\"user_events\",\n    df=new_events_df,\n    write_mode=\"append\"  # or \"replace\" (default), \"prepend\"\n)\n```\n\n**Implementation Approach:**\n\nSince this is DynamoDB-specific functionality, it could be:\n- Added as an optional method in the `DynamoDBOnlineStore` class\n- Kept separate from the core online store interface to avoid breaking changes\n- Potentially exposed through a DynamoDB-specific utility or extension\n\n**Key changes needed:**\n\n1. Modify `sdk/python/feast/infra/online_stores/dynamodb.py` to add update operation support\n2. Use boto3's `update_item` with `UpdateExpression` instead of `put_item`\n3. Handle the serialization/deserialization of list values appropriately\n4. Maintain backward compatibility with existing `write_to_online_store` behavior\n\n**Describe alternatives you've considered**\n\n1. **Read-Modify-Write pattern** (current workaround): Inefficient and not atomic\n2. **Maintain arrays upstream**: Requires duplicating windowing logic in batch/stream processing\n3. **Use OnDemandFeatureView**: Doesn't solve the storage efficiency problem\n4. **Custom online store implementation**: Requires maintaining a fork\n\n**Additional context**\n\nThis feature would be particularly valuable for:\n- Time-series features with sliding windows\n- User interaction histories\n- Event sequences for sequential models\n- Any use case requiring efficient array/list manipulation at the storage layer\n\nRelated Slack discussion: https://feastopensource.slack.com/archives/C01M2GYP0UC/p1761052622312959\n\n**Technical References:**\n- Current DynamoDB implementation: `sdk/python/feast/infra/online_stores/dynamodb.py:531` (uses `batch_writer` with full replacement)\n- Async write path: `sdk/python/feast/infra/utils/aws_utils.py:1125` (uses `PutRequest`)\n- DynamoDB UpdateItem documentation: https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_UpdateItem.html\n","author":{"url":"https://github.com/devin-ai-integration[bot]","@type":"Person","name":"devin-ai-integration[bot]"},"datePublished":"2025-10-21T17:58:12.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":4},"url":"https://github.com/5687/feast/issues/5687"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:fd68e1a7-82b0-17bf-2dad-0a9887143615
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id8E08:1EA4:13FD4E4:1CF4030:6A4F7ADD
html-safe-nonce7408cee360647a05473a0ca6b675692653f00035a9476888c6ff0ee999169693
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RTA4OjFFQTQ6MTNGRDRFNDoxQ0Y0MDMwOjZBNEY3QUREIiwidmlzaXRvcl9pZCI6IjM0NzEyOTczMzc1NDgwNDUwMjEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac10da4f6227063a1a078dfc60afc0647d09dc501c44ed033eb859b4f7c89efbd0
hovercard-subject-tagissue:3537608609
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/5687/issue_layout
twitter:imagehttps://opengraph.githubassets.com/671eaae773505e08127d976f77be5757c30d5713c5ca41947ed8acbb7e047f8f/feast-dev/feast/issues/5687
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/671eaae773505e08127d976f77be5757c30d5713c5ca41947ed8acbb7e047f8f/feast-dev/feast/issues/5687
og:image:altIs your feature request related to a problem? Please describe. When working with array-based features that represent sequences of past events per entity (e.g., last N transactions, recent interacti...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamedevin-ai-integration[bot]
hostnamegithub.com
expected-hostnamegithub.com
Noneb92d11c0aa4a77d54ef4af1078b6a15fb5a70a215b30c4ecf28889d5a8e656d9
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
release4b249b445842943ed31549e027f57a8ade9881ed
ui-targetcanary-2
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/feast-dev/feast/issues/5687#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Ffeast-dev%2Ffeast%2Fissues%2F5687
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%2F5687
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/5687
Reloadhttps://github.com/feast-dev/feast/issues/5687
Reloadhttps://github.com/feast-dev/feast/issues/5687
Please reload this pagehttps://github.com/feast-dev/feast/issues/5687
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 212 https://github.com/feast-dev/feast/issues
Pull requests 173 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
#5916https://github.com/feast-dev/feast/pull/5916
Add DynamoDB in-place list update support for array-based featureshttps://github.com/feast-dev/feast/issues/5687#top
#5916https://github.com/feast-dev/feast/pull/5916
https://github.com/anshishrivastava
https://github.com/apps/devin-ai-integration
devin-ai-integrationhttps://github.com/apps/devin-ai-integration
on Oct 21, 2025https://github.com/feast-dev/feast/issues/5687#issue-3537608609
https://feastopensource.slack.com/archives/C01M2GYP0UC/p1761052622312959https://feastopensource.slack.com/archives/C01M2GYP0UC/p1761052622312959
https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_UpdateItem.htmlhttps://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_UpdateItem.html
anshishrivastavahttps://github.com/anshishrivastava
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.