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

Add benchmark derived from TPC-H #355

Merged
merged 7 commits into from
May 3, 2023
Merged

Add benchmark derived from TPC-H #355

merged 7 commits into from
May 3, 2023

Conversation

andygrove
Copy link
Member

@andygrove andygrove commented Apr 28, 2023

Which issue does this PR close?

N/A

Rationale for this change

Make it easier to run benchmarks so we can track performance between releases and catch regressions earlier.

I had to add a workaround for apache/datafusion#6147 by renaming the generated .tbl files to .csv files.

What changes are included in this PR?

Are there any user-facing changes?

@andygrove andygrove marked this pull request as ready for review April 28, 2023 04:08
@andygrove
Copy link
Member Author

@kylebrooks-8451 fyi

.github/*
benchmarks/tpch/queries/q*.sql
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The queries are copyright TPC so we can't claim ASF copyright

Copy link
Contributor

@jdye64 jdye64 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Had a single question/comment about if a disclaimer should have been included in the DDL file. I don't know the answer so approving and letting you use your judgement there.

@@ -0,0 +1,133 @@
-- Licensed to the Apache Software Foundation (ASF) under one
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this also contain the disclaimer about being derived from TPC-H since it is performing DDL? Don't know the answer there?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good point. I will go ahead and add this.

@andygrove andygrove merged commit 0911bf3 into apache:main May 3, 2023
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

Successfully merging this pull request may close these issues.

2 participants