Skip to content

[BSE-4285] Add remaining sample TPC-H outputs #86

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

Merged
merged 11 commits into from
Nov 27, 2024

Conversation

njriasan
Copy link
Contributor

Adds the remaining outputs. It's possible some outputs are incorrect because I had to manually rewrite a couple queries to get them to compute in SQLite (clear drawback of being OLTP). We probably need to avoid these queries for the demo unless we can prove PyDough has such an improved query construction that they run faster. I've marked the queries in the outputs.

Base automatically changed from nick/add_remaining_tpch_outputs to nick/fix_test_matrix November 26, 2024 15:40
Expected output for TPC-H query 20. Note: This is truncated to
the first 10 rows.

This query needs manual rewriting to run efficiently in SQLite
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is an example of a query I had to manually rewrite into a subquery by hand, so its possible that the result is wrong. I think my rewrite was correct but we might only know when comparing to our PyDough results.

Copy link
Contributor

Choose a reason for hiding this comment

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

Can you confirm by checking the Snowflake output against this?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The random data will be different, so unfortunately no.

Expected output for TPC-H query 20. Note: This is truncated to
the first 10 rows.

This query needs manual rewriting to run efficiently in SQLite
Copy link
Contributor

Choose a reason for hiding this comment

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

Can you confirm by checking the Snowflake output against this?

Base automatically changed from nick/fix_test_matrix to main November 27, 2024 18:38
@njriasan njriasan merged commit 038b142 into main Nov 27, 2024
4 checks passed
@njriasan njriasan deleted the nick/second_half_tpch_outputs branch November 27, 2024 18:40
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