FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

feat: Redis range query materialization by kpulipati29 · Pull Request #309 · ExpediaGroup/feast · GitHub

forked from feast-dev/feast

feat: Redis range query materialization - #309

Open
kpulipati29 wants to merge 4 commits into
masterfrom
rq-mat-redis
Open

feat: Redis range query materialization#309
kpulipati29 wants to merge 4 commits into
masterfrom
rq-mat-redis

Conversation

kpulipati29 commented Oct 30, 2025
edited
Loading

Copy link
Copy Markdown

score = feature_value
member = redis_key_bin_with_sort_keys
zset_key = f"{project}:{table.name}:{feature_name}:{redis_key_bin}"
pipe.zadd(zset_key, {member: score})

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.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

I think we should do some validation here to check if the score is numeric type or not rather than wait for Redis to throw the error. What do you think?

kpulipati29 Nov 11, 2025
edited
Loading

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Yes agree, it was in my to-do list. I think we should fail the materialization job if the feature view have multiple sort keys or non numeric types

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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.

2 participants


Back | FazBrowse Home | New Git URL