-
Notifications
You must be signed in to change notification settings - Fork 4
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
Conversation
sdk/python/feast/infra/online_stores/contrib/cassandra_online_store/cassandra_online_store.py
Outdated
Show resolved
Hide resolved
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.
LGTM.
sdk/python/feast/infra/online_stores/contrib/cassandra_online_store/cassandra_online_store.py
Outdated
Show resolved
Hide resolved
sdk/python/feast/infra/online_stores/contrib/cassandra_online_store/cassandra_online_store.py
Outdated
Show resolved
Hide resolved
sdk/python/feast/infra/online_stores/contrib/cassandra_online_store/cassandra_online_store.py
Outdated
Show resolved
Hide resolved
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.
Can we also add the ttl at feature view level for Redis online store as well?
sdk/python/tests/integration/feature_repos/repo_configuration.py
Outdated
Show resolved
Hide resolved
sdk/python/feast/feature_view.py
Outdated
Returns: | ||
An integer representing the TTL in seconds, or None if not set. | ||
""" | ||
ttl_str = self.tags.get("online_store_ttl") |
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.
Change the tag name to online_store_key_ttl_seconds
. For easy to remember and align with feature_store.yaml configuration.
sdk/python/feast/infra/online_stores/contrib/cassandra_online_store/cassandra_online_store.py
Outdated
Show resolved
Hide resolved
Co-authored-by: Bhargav Dodla <[email protected]>
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