Skip to content

chore(isthmus): alternate forms for tpc-ds queries#513

Merged
bestbeforetoday merged 1 commit into
substrait-io:mainfrom
bestbeforetoday:tpcds-grouping
Sep 19, 2025
Merged

chore(isthmus): alternate forms for tpc-ds queries#513
bestbeforetoday merged 1 commit into
substrait-io:mainfrom
bestbeforetoday:tpcds-grouping

Conversation

@bestbeforetoday

Copy link
Copy Markdown
Member

Alternate forms for TPC-DS queries 27, 36, 70 and 86. These forms rewrite queries that use the GROUPING aggregate function, which does not have a direct Substrait equivalent. These test cases now pass.

@bestbeforetoday
bestbeforetoday marked this pull request as ready for review September 18, 2025 20:45
Alternate forms for TPC-DS queries 27, 36, 70 and 86. These forms
rewrite queries that use the GROUPING aggregate function, which does not
have a direct Substrait equivalent. These test cases now pass.

Signed-off-by: Mark S. Lewis <Mark.S.Lewis@outlook.com>

@nielspardon nielspardon left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM, I think it is good that we can cover these TPC-DS queries already in the alternate forms specified as part of the TPC-DS benchmark while we are still figuring out how to support the original format with the GROUPING / GROUPING_ID function syntax.

@bestbeforetoday
bestbeforetoday merged commit 1530b8e into substrait-io:main Sep 19, 2025
12 checks passed
ZorinAnton pushed a commit to ZorinAnton/substrait-java that referenced this pull request Sep 23, 2025
Alternate forms for TPC-DS queries 27, 36, 70 and 86. These forms
rewrite queries that use the GROUPING aggregate function, which does not
have a direct Substrait equivalent. These test cases now pass.

Signed-off-by: Mark S. Lewis <Mark.S.Lewis@outlook.com>
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