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

Limit not always respected by query cache #254

Open
kaidaguerre opened this issue Feb 2, 2022 · 0 comments
Open

Limit not always respected by query cache #254

kaidaguerre opened this issue Feb 2, 2022 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@kaidaguerre
Copy link
Contributor

Following sequence results in incorrect (limited) data being returned

> select name from aws_s3_bucket;
> .cache clear
> select name from aws_s3_bucket limit 5;
> select name from aws_s3_bucket;

this results in the unlimited query returning limited data

This is caused by the fact that the result key does not include the limit - therefore multiple index items referred to the same result key

@kaidaguerre kaidaguerre added the bug Something isn't working label Feb 2, 2022
@kaidaguerre kaidaguerre self-assigned this Feb 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant