GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — feat: Add possibility to materialize only latest values, to increase performance by astronautas · Pull Request #5713 · feast-dev/feast

Conversation

@astronautas

@astronautas astronautas commented Nov 5, 2025

Copy link
Copy Markdown
Contributor

What this PR does / why we need it:

Adds an option to materialize only the latest values (essentially pushes down deduplication to offline store), to reduce client memory consumption and reduce e2e duration. Especially noticeable for large-scale materialization - think hundreds of thousands of rows with ~150 feature views, with latency-critical materializations - as we observed in our ML project at cast.ai.

Which issue(s) this PR fixes:

#5707 (comment)

Misc

This will be configured via feature store (repo) config file:

registry: registry.db
project: credit_scoring_aws
provider: local
online_store:
  type: sqlite
offline_store:
  type: file
entity_key_serialization_version: 3
materialization: # <- new option here
  pull_latest_features: true | false (default)

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
astronautas and others added 5 commits October 15, 2025 19:55
@astronautas @ntkathole
add pull_all_from_table_or_query for clickhouse, to align with new ma…
1752a4f
…terialization logic (calling it)

Signed-off-by: lukas.valatka <[email protected]>
Lukas Valatka
Merge branch 'feast-dev:master' into master
a6fcf5e
Lukas Valatka
Merge branch 'feast-dev:master' into master
c7cf0da
@astronautas
Merge branch 'feast-dev:master' into master
15abe18
@astronautas
add option to select to materialize only latest values, for performance
90c9b66
Signed-off-by: lukas.valatka <[email protected]>
@astronautas
astronautas requested a review from a team as a code owner November 5, 2025 11:29
@astronautas
Merge branch 'master' into feat/add-selective-deduplicate-pushdown-to…
b61a6cc
…-offline-store
@astronautas

astronautas commented Nov 5, 2025

Copy link
Copy Markdown
Contributor Author

@HaoXuAI

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@astronautas

astronautas commented Nov 5, 2025

Copy link
Copy Markdown
Contributor Author

@franciscojavierarceo

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

astronautas added 2 commits November 5, 2025 13:38
@astronautas
enforce non optional params
42f9c1b
Signed-off-by: lukas.valatka <[email protected]>
@astronautas
Merge branch 'feat/add-selective-deduplicate-pushdown-to-offline-stor…
57e91df
…e' of github.com:astronautas/feast into feat/add-selective-deduplicate-pushdown-to-offline-store
@astronautas astronautas mentioned this pull request Nov 5, 2025
feat: Add deduplicate pushdown to clickhouse - improve materialize performance #5709
Closed
@franciscojavierarceo franciscojavierarceo added the ok-to-test label Nov 5, 2025
@astronautas

astronautas commented Nov 5, 2025

Copy link
Copy Markdown
Contributor Author

Let's re-run tests? Random issue, but no changes to dependency management :/

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@astronautas

astronautas commented Nov 5, 2025

Copy link
Copy Markdown
Contributor Author
image

Dependency install was skipped :what:

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@astronautas

astronautas commented Nov 5, 2025 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor Author

seems like aws creds have expired @franciscojavierarceo

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@franciscojavierarceo

franciscojavierarceo commented Nov 5, 2025

Copy link
Copy Markdown
Member

@ntkathole @jeremyary can you investigate?

ntkathole reacted with eyes emoji
All reactions
  • 👀 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

haoxu0
haoxu0 reviewed Nov 5, 2025
View reviewed changes

@haoxu0 haoxu0 left a comment

Copy link
Copy Markdown
Collaborator

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

I think it might be better to add the config to the fs.materialize API? So that you can customize the materialize process that materialize the FeatureView if you need pushdown filter, and some other process you don't need.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@astronautas

astronautas commented Nov 5, 2025

Copy link
Copy Markdown
Contributor Author

I think it might be better to add the config to the fs.materialize API? So that you can customize the materialize process that materialize the FeatureView if you need pushdown filter, and some other process you don't need.

Why not indeed. I'll check it out and tag you back.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@astronautas
Merge branch 'master' into feat/add-selective-deduplicate-pushdown-to…
faa87cd
…-offline-store
@franciscojavierarceo
franciscojavierarceo merged commit 8d77b72 into feast-dev:master Nov 11, 2025
17 of 18 checks passed

Uh oh!

There was an error while loading. Please reload this page.

haoxu0 pushed a commit that referenced this pull request Nov 12, 2025
@astronautas Lukas Valatka @haoxu0
feat: Add possibility to materialize only latest values, to increase …
673354c
…performance (#5713)

* add pull_all_from_table_or_query for clickhouse, to align with new materialization logic (calling it)

Signed-off-by: lukas.valatka <[email protected]>

* add option to select to materialize only latest values, for performance

Signed-off-by: lukas.valatka <[email protected]>

* enforce non optional params

Signed-off-by: lukas.valatka <[email protected]>

---------

Signed-off-by: lukas.valatka <[email protected]>
Co-authored-by: Lukas Valatka <[email protected]>
franciscojavierarceo pushed a commit that referenced this pull request Nov 13, 2025
@feast-ci-bot
chore(release): release 0.57.0
cc39768
# [0.57.0](v0.56.0...v0.57.0) (2025-11-13)

### Bug Fixes

* Improve trino to feast type mapping with (real,varchar,timestamp,decimal) ([#5691](#5691)) ([f855ad2](f855ad2))
* Materialize API - ODFV views not looked-up (thinks views non existant)  - crashes materialize ([#5716](#5716)) ([1b050b3](1b050b3))
* Support historical feature retrieval with start_date/end_date in RemoteOfflineStore ([#5703](#5703)) ([ad32756](ad32756))
* Thread safe Clickhouse offline store ([#5710](#5710)) ([5f446ed](5f446ed))

### Features

* Add annotations to cronjob CRDs ([#5701](#5701)) ([be6e6c2](be6e6c2))
* Add batch commit mode for MySQL OnlineStore ([#5699](#5699)) ([3cfe4eb](3cfe4eb))
* Add possibility to materialize only latest values, to increase performance ([#5713](#5713)) ([8d77b72](8d77b72))
* Support table format: Iceberg, Delta, and Hudi ([#5650](#5650)) ([2915ad1](2915ad1))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@haoxu0 haoxu0 haoxu0 left review comments

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

ok-to-test

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

3 participants

@astronautas @franciscojavierarceo @haoxu0
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.