Skip to content

Conversation

@kpulipati29
Copy link

@kpulipati29 kpulipati29 commented Oct 30, 2025

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
Collaborator

Choose a reason for hiding this comment

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

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?

Copy link
Author

@kpulipati29 kpulipati29 Nov 11, 2025

Choose a reason for hiding this comment

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

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

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.

3 participants