Skip to content

Expire relations outside of a transaction #1168

Answered by mihaibudiu
doug-galvanick asked this question in Q&A
Discussion options

You must be logged in to vote

One way to do it would be to create a view on DependencyA which only has recent events and use that instead.
But this may accumulate some garbage.
However, you can also use this view to tell you what to delete from the input relation: the negative changes in this view will be the keys that you have to delete.

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@doug-galvanick
Comment options

Answer selected by doug-galvanick
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants