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

Handle limit pushdown in last cache #25968

Open
Tracked by #25091
hiltontj opened this issue Feb 4, 2025 · 0 comments
Open
Tracked by #25091

Handle limit pushdown in last cache #25968

hiltontj opened this issue Feb 4, 2025 · 0 comments
Labels

Comments

@hiltontj
Copy link
Contributor

hiltontj commented Feb 4, 2025

Problem statement

The last cache does not handle limit pushdown:

Proposed solution

Handle limit pushdown in the last cache. This was done in the distinct cache, so the solution may be able to draw on the implementation there (see where limit is handled internally here).

The LastCacheExec, should output the limit pushed down to the table function scan, as was done for the distinct cache.

Additional context

See slack thread.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant