◐ Shell
reader mode source ↗
Skip to content

feat: DuckDB historical retrieval without entity dataframe#6108

Open
Vperiodt wants to merge 12 commits into
feast-dev:masterfrom
Vperiodt:patch-dataframe
Open

feat: DuckDB historical retrieval without entity dataframe#6108
Vperiodt wants to merge 12 commits into
feast-dev:masterfrom
Vperiodt:patch-dataframe

Conversation

@Vperiodt

@Vperiodt Vperiodt commented Mar 14, 2026

Copy link
Copy Markdown
Contributor

What this PR does / why we need it:

Adds date-range historical retrieval for the DuckDB offline store when entity_df is omitted.

Which issue(s) this PR fixes:

fixes #5832 related to #1611

Misc


Open with Devin

@Vperiodt Vperiodt marked this pull request as ready for review March 15, 2026 18:17
@Vperiodt Vperiodt requested a review from a team as a code owner March 15, 2026 18:17
devin-ai-integration[bot]

This comment was marked as resolved.

devin-ai-integration[bot]

This comment was marked as resolved.

@ntkathole

Copy link
Copy Markdown
Member

@Vperiodt There is integration test tests/integration/offline_store/test_non_entity_mode.py, see if duckdb coverage can be included there

devin-ai-integration[bot]

This comment was marked as resolved.

@jyejare

jyejare commented Apr 7, 2026

Copy link
Copy Markdown
Collaborator

@Vperiodt The lint checks are failing please check and rebase the PR.

@jyejare jyejare left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hide comment

Review Summary

The approach is clean — making entity_df optional and building a synthetic entity DataFrame from the feature view sources is a good way to enable date-range retrieval for DuckDB. Test coverage is solid (553 lines of unit tests + integration test updates).

However, CI is currently failing (lint-python and unit-test-python 3.10), so this is not merge-ready yet.

Blockers

  1. CI failureslint-python and unit-test-python (3.10, ubuntu-latest) are red on the latest run (Apr 13). Please investigate and fix.
  2. Unconditional ibis import in repo_configuration.py — breaks all tests when ibis is not installed. See inline comment for the fix.

Minor Items

  1. Missing docstring on _build_entity_df_from_sources (flagged by @ntkathole, still pending).
  2. Duplicate date-range logic — the start_date/end_date defaulting is copy-pasted across offline stores. Please extract to a shared utility or reuse compute_non_entity_date_range.

Will ACK once CI is green and the blockers are addressed.

Vperiodt added 11 commits April 17, 2026 17:12
Signed-off-by: Vanshika Vanshika <vvanshik@redhat.com>

rh-pre-commit.version: 2.3.2
rh-pre-commit.check-secrets: ENABLED
Signed-off-by: Vanshika Vanshika <vvanshik@redhat.com>

rh-pre-commit.version: 2.3.2
rh-pre-commit.check-secrets: ENABLED
Signed-off-by: Vanshika Vanshika <vvanshik@redhat.com>

rh-pre-commit.version: 2.3.2
rh-pre-commit.check-secrets: ENABLED
Signed-off-by: Vanshika Vanshika <vvanshik@redhat.com>

rh-pre-commit.version: 2.3.2
rh-pre-commit.check-secrets: ENABLED
Signed-off-by: Vanshika Vanshika <vvanshik@redhat.com>

rh-pre-commit.version: 2.3.2
rh-pre-commit.check-secrets: ENABLED
Signed-off-by: Vanshika Vanshika <vvanshik@redhat.com>

rh-pre-commit.version: 2.3.2
rh-pre-commit.check-secrets: ENABLED
Signed-off-by: Vanshika Vanshika <vvanshik@redhat.com>

rh-pre-commit.version: 2.3.2
rh-pre-commit.check-secrets: ENABLED
Signed-off-by: Vanshika Vanshika <vvanshik@redhat.com>

rh-pre-commit.version: 2.3.2
rh-pre-commit.check-secrets: ENABLED
Signed-off-by: Vanshika Vanshika <vvanshik@redhat.com>

rh-pre-commit.version: 2.3.2
rh-pre-commit.check-secrets: ENABLED
Signed-off-by: Vanshika Vanshika <vvanshik@redhat.com>

rh-pre-commit.version: 2.3.2
rh-pre-commit.check-secrets: ENABLED
Signed-off-by: Vanshika Vanshika <vvanshik@redhat.com>

rh-pre-commit.version: 2.3.2
rh-pre-commit.check-secrets: ENABLED
Signed-off-by: Vanshika Vanshika <vvanshik@redhat.com>

rh-pre-commit.version: 2.3.2
rh-pre-commit.check-secrets: ENABLED
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

DuckDB - historical retrieval without entity dataframe

4 participants