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 request: update a single query's hint with --admit_except and --record_hints #1139

Open
tchajed opened this issue Jul 19, 2017 · 3 comments

Comments

@tchajed
Copy link
Contributor

tchajed commented Jul 19, 2017

It would be nice if --admit_except <id> --record_hints updated an existing set of hints for a particular id without removing the rest. Currently the behavior is to overwrite all the hints with a single one, which isn't terribly useful.

@nikswamy
Copy link
Collaborator

Sounds useful. @wintersteiger ?

@wintersteiger
Copy link
Contributor

Absolutely, we definitely want that to work! Did you try with both --record_hints and --use_hints? When both are on it should at least load all the hints, but I think it will then save all of them (including the updated one) too.

@s-zanella
Copy link
Contributor

@wintersteiger Unfortunately that won't work: using --record_hints --use_hints --admit_except ... will load all the hints, but it will write a new hints file containing hints only for queries that weren't admitted.

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

No branches or pull requests

4 participants