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

[FEATURE] Support WITH (NOCACHE) hint to disable using cache #175

Closed
joocer opened this issue Jun 9, 2022 · 1 comment
Closed

[FEATURE] Support WITH (NOCACHE) hint to disable using cache #175

joocer opened this issue Jun 9, 2022 · 1 comment
Labels
Awaiting Closure Fixed - waiting for merging/releasing

Comments

@joocer
Copy link
Contributor

joocer commented Jun 9, 2022

SELECT * FROM $astronauts WITH (NOCACHE)

parses and includes a section called with_hints

@joocer joocer assigned joocer and unassigned joocer Jun 9, 2022
@joocer joocer changed the title [FEATURE] see if WITH keyword can be used to say no caching [FEATURE] Support hints to disable using cache Jun 9, 2022
@joocer joocer changed the title [FEATURE] Support hints to disable using cache [FEATURE] Support WITH (NOCACHE) hint to disable using cache Jun 12, 2022
@joocer
Copy link
Contributor Author

joocer commented Jun 18, 2022

This should probably be implemented using a directives object to pass around.

class Directives():
   use_cache: bool = True

Each plan node should accept the directives object, like it accepts the stats object.

@joocer joocer added the Awaiting Closure Fixed - waiting for merging/releasing label Jun 20, 2022
joocer added a commit that referenced this issue Jun 20, 2022
joocer added a commit that referenced this issue Jun 20, 2022
@joocer joocer closed this as completed Jun 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Awaiting Closure Fixed - waiting for merging/releasing
Projects
None yet
Development

No branches or pull requests

1 participant