Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: TTL support for ScyllaDB config and FeatureViews #154

Merged
merged 12 commits into from
Nov 8, 2024
Merged

Conversation

zabarn
Copy link

@zabarn zabarn commented Nov 6, 2024

What this PR does / why we need it:

Adds TTL support at the feature_store.yaml level, as well as at the FeatureView level when using ScyllaDB as the online store.

Which issue(s) this PR fixes:

https://jira.expedia.biz/browse/EAPC-15031

Misc

@zabarn zabarn marked this pull request as ready for review November 6, 2024 19:55
@zabarn zabarn changed the title feat: TTL support for ScyllaDB tables and FeatureViews feat: TTL support for ScyllaDB config and FeatureViews Nov 6, 2024
Copy link
Collaborator

@vanitabhagwat vanitabhagwat left a comment

Choose a reason for hiding this comment

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

LGTM.

Copy link
Collaborator

@EXPEbdodla EXPEbdodla left a comment

Choose a reason for hiding this comment

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

Can we also add the ttl at feature view level for Redis online store as well?

Returns:
An integer representing the TTL in seconds, or None if not set.
"""
ttl_str = self.tags.get("online_store_ttl")
Copy link
Collaborator

Choose a reason for hiding this comment

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

Change the tag name to online_store_key_ttl_seconds. For easy to remember and align with feature_store.yaml configuration.

@zabarn zabarn merged commit 2a19428 into master Nov 8, 2024
23 checks passed
@EXPEbdodla EXPEbdodla deleted the scylladb-ttl branch November 8, 2024 19:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants