Title: feat(dynamodb): Use ProjectionExpression when requested_features is set by Jwrede · Pull Request #6366 · feast-dev/feast · GitHub
Open Graph Title: feat(dynamodb): Use ProjectionExpression when requested_features is set by Jwrede · Pull Request #6366 · feast-dev/feast
X Title: feat(dynamodb): Use ProjectionExpression when requested_features is set by Jwrede · Pull Request #6366 · feast-dev/feast
Description: Summary online_read and online_read_async accept requested_features but ignored it -- DynamoDB always fetched all features from the values map Added ProjectionExpression to BatchGetItem requests when requested_features is provided, so DynamoDB only returns entity_id, event_ts, and the requested feature attributes within values Uses ExpressionAttributeNames to avoid conflicts with DynamoDB reserved words Works for both single-batch (resource API) and multi-batch (client API / async) code paths Fixes Fixes #6058 Test plan test_build_projection_expression -- verifies correct DynamoDB expression generation test_build_projection_expression_none -- verifies None/empty returns None test_dynamodb_online_store_online_read_with_requested_features -- verifies only requested features are returned (moto) test_dynamodb_online_store_online_read_without_requested_features -- verifies all features returned when not specified (moto) test_dynamodb_online_store_online_read_requested_features_parallel -- verifies filtering across parallel batches (moto) All 39 existing + new DynamoDB unit tests pass
Open Graph Description: Summary online_read and online_read_async accept requested_features but ignored it -- DynamoDB always fetched all features from the values map Added ProjectionExpression to BatchGetItem requests w...
X Description: Summary online_read and online_read_async accept requested_features but ignored it -- DynamoDB always fetched all features from the values map Added ProjectionExpression to BatchGetItem requests w...
Opengraph URL: https://github.com/feast-dev/feast/pull/6366
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:ccd209bc-fb97-cd1e-f4e6-3db23a51efef |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 9248:2086C7:4179210:5B387A4:6A4F6424 |
| html-safe-nonce | c65a6eed18efc503bdbe2459613f5003b275f65fda03afdd1979e12376a53dd8 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MjQ4OjIwODZDNzo0MTc5MjEwOjVCMzg3QTQ6NkE0RjY0MjQiLCJ2aXNpdG9yX2lkIjoiNzI0MjU0NDM3MDI0MjUxMTkwOCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 58e3fd9388957ca5f2c9abdc66b080fbf3c4e840e405ea4f6c30c8d90fa66423 |
| hovercard-subject-tag | pull_request:3620571334 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,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/feast-dev/feast/pull/6366/files |
| twitter:image | https://avatars.githubusercontent.com/u/62910358?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/62910358?s=400&v=4 |
| og:image:alt | Summary online_read and online_read_async accept requested_features but ignored it -- DynamoDB always fetched all features from the values map Added ProjectionExpression to BatchGetItem requests w... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | b92d11c0aa4a77d54ef4af1078b6a15fb5a70a215b30c4ecf28889d5a8e656d9 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| 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 full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 4b249b445842943ed31549e027f57a8ade9881ed |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width