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

Question regarding TPC-H generated queries #1

Closed
nghiahhnguyen opened this issue Jun 13, 2020 · 1 comment
Closed

Question regarding TPC-H generated queries #1

nghiahhnguyen opened this issue Jun 13, 2020 · 1 comment

Comments

@nghiahhnguyen
Copy link

In your paper "Neo: A Learned Query Optimizer", it is mentioned that you and the other authors generated 80 training and 20 test queries for the TPC-H dataset. May I ask whether these queries are available? If it is, can you tell how I can get access to the queries?

@RyanMarcus
Copy link
Collaborator

Hi!

For TPC-H, we randomly sampled 80% of the templates into the training group, then put the remaining 20% of the templates into the test group (modulo rounding). Then we randomly sampled these templates with replacement until we'd reached the appropriate number of queries in each group.

You should be able to produce your own random samples using the TPC-H query generator tool.

Thanks,
Ryan

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

No branches or pull requests

2 participants