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

Support additional directives to force Verdict to use specific samples #106

Open
dongyoungy opened this issue Mar 14, 2018 · 1 comment
Open

Comments

@dongyoungy
Copy link
Contributor

dongyoungy commented Mar 14, 2018

It would be good if a user can specify/force which samples to use to Verdict in a query like following:
"SELECT ... FROM .. WHERE .... USE VERDICT SAMPLE 'blah'"

Such feature could be useful for testing/profiling, especially when there are multiple samples available for Verdict.

@dongyoungy dongyoungy changed the title Support directives to make Verdict use specific samples Support additional directives to force Verdict to use specific samples Mar 14, 2018
@barzan
Copy link
Contributor

barzan commented Mar 19, 2018

@dongyoungy can you think more carefully about this and suggest a more specific syntax? the problem is that a query might have multiple tables in it and even the same table mentioned multiple time (e.g., a self-join), and so you need to be able to say which types/sizes of samples to use for which instance of which table. If you can suggest a concrete syntax, @boyuanmike might be able to add this feature. Unless you need this feature much sooner in which case you need to implement this yourself.

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

2 participants