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

fix: update to use latest duckdb and modify groupby relation tests #109

Merged
merged 2 commits into from
Sep 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -49,31 +49,29 @@
),
"aggregate_with_group_by": (
"""

SELECT SUM(L_EXTENDEDPRICE), L_LINENUMBER
SELECT L_ORDERKEY, L_LINENUMBER, count(*)
FROM '{}'
GROUP BY L_LINENUMBER
ORDER BY L_LINENUMBER
GROUP BY L_ORDERKEY, L_LINENUMBER
ORDER BY L_ORDERKEY, L_LINENUMBER
""",
[DuckDBProducer, DataFusionProducer, IsthmusProducer],
),
"aggregate_with_group_by_cube": (
"""

SELECT SUM(L_EXTENDEDPRICE), L_LINENUMBER, L_ORDERKEY
SELECT L_ORDERKEY, L_LINENUMBER, count(*)
FROM '{}'
GROUP BY CUBE(L_LINENUMBER, L_ORDERKEY)
ORDER BY L_LINENUMBER, L_ORDERKEY
GROUP BY CUBE(L_ORDERKEY, L_LINENUMBER)
ORDER BY L_ORDERKEY, L_LINENUMBER
""",
[DuckDBProducer, DataFusionProducer, IsthmusProducer],
),
"aggregate_with_group_by_rollup": (
"""

SELECT SUM(L_EXTENDEDPRICE), L_LINENUMBER, L_ORDERKEY
SELECT L_ORDERKEY, L_LINENUMBER, count(*)
FROM '{}'
GROUP BY ROLLUP(L_LINENUMBER, L_ORDERKEY)
ORDER BY L_LINENUMBER, L_ORDERKEY
GROUP BY ROLLUP(L_ORDERKEY, L_LINENUMBER)
ORDER BY L_ORDERKEY, L_LINENUMBER
""",
[DuckDBProducer, DataFusionProducer, IsthmusProducer],
),
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading