Title: fix(postgres): Use end_date in synthetic entity_df for non-entity retrieval by YassinNouh21 · Pull Request #6110 · feast-dev/feast · GitHub
Open Graph Title: fix(postgres): Use end_date in synthetic entity_df for non-entity retrieval by YassinNouh21 · Pull Request #6110 · feast-dev/feast
X Title: fix(postgres): Use end_date in synthetic entity_df for non-entity retrieval by YassinNouh21 · Pull Request #6110 · feast-dev/feast
Description: Summary The non-entity retrieval path (entity_df=None) created a synthetic entity_df using pd.date_range(start=start_date, ...)[:1], which placed start_date as the event timestamp Since PIT joins use MAX(entity_timestamp) as the upper bound, using start_date made end_date unreachable — no features after start_date would be returned Fix: use [end_date] directly, matching the ClickHouse (#6066) and Dask implementations Test plan Added regression test test_non_entity_entity_df_uses_end_date that captures the synthetic entity_df and asserts its timestamp equals end_date All existing TestNonEntityRetrieval tests pass No changes to the query template or other code paths Fixes the bug identified during review of #6066, referenced in #6057.
Open Graph Description: Summary The non-entity retrieval path (entity_df=None) created a synthetic entity_df using pd.date_range(start=start_date, ...)[:1], which placed start_date as the event timestamp Since PIT joins ...
X Description: Summary The non-entity retrieval path (entity_df=None) created a synthetic entity_df using pd.date_range(start=start_date, ...)[:1], which placed start_date as the event timestamp Since PIT joins ...
Opengraph URL: https://github.com/feast-dev/feast/pull/6110
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:97ad9599-36c9-510f-eaac-ddbf2de45d82 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 8FA4:35267D:37565:4AE85:6A4D90C7 |
| html-safe-nonce | e2b09c863ec0bec40997f0f34a309f27f95e0a289760e4e87f50f0c4731e97aa |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RkE0OjM1MjY3RDozNzU2NTo0QUU4NTo2QTREOTBDNyIsInZpc2l0b3JfaWQiOiIyMjk3MjkwOTM2NTQxODc2NDIzIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 66c0472364efbe13cb73986b70eb3c36ea53456f3b1c3a0d7da8d699ab14ef26 |
| hovercard-subject-tag | pull_request:3401470452 |
| 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/6110/files |
| twitter:image | https://avatars.githubusercontent.com/u/70436855?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/70436855?s=400&v=4 |
| og:image:alt | Summary The non-entity retrieval path (entity_df=None) created a synthetic entity_df using pd.date_range(start=start_date, ...)[:1], which placed start_date as the event timestamp Since PIT joins ... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 06b8a6144231bf3a234f1c2e9993861e07ce98a905912b114aa386c2d7e84b33 |
| 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 | 74e2a9c78f1e38588de4f25885878349d721eedf |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width