Skip to content

Is it possible to jointly execute two expressions derived from a common expensive ancestor expression? #8277

Answered by cpcloud
ogrisel asked this question in Q&A
Discussion options

You must be logged in to vote

Thanks for opening this discussion!

Are you familiar with any papers or research that discuss methods for determining when to cache?

I think for now it's probably going to be up to the user to determine where to cache, as it's probably going to be application specific.

Choosing, for example, a strategy that always caches cheap-to-store-but-expensive-to-compute (like a complex aggregation) wouldn't work in your scenario, since a sampled dataset might be much smaller than the full dataset, but still far too large to store.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by cpcloud
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