Skip to content

fix(isthmus): more standard SQL for TPCDS query 72#326

Merged
Blizzara merged 1 commit intosubstrait-io:mainfrom
bestbeforetoday:tpcds-72
Feb 6, 2025
Merged

fix(isthmus): more standard SQL for TPCDS query 72#326
Blizzara merged 1 commit intosubstrait-io:mainfrom
bestbeforetoday:tpcds-72

Conversation

@bestbeforetoday
Copy link
Copy Markdown
Member

@bestbeforetoday bestbeforetoday commented Feb 5, 2025

According to a related Calcite issue, TPCDS query 72 uses Oracle-specific syntax for date addition, which defaults to days as the time unit when a numeric value is added to a date. A more standards-compliant form is to explicitly specify the time unit as an interval.

Relates to #72

According to a related [Calcite issue](https://issues.apache.org/jira/browse/CALCITE-304),
TPCDS query 72 uses Oracle-specific syntax for date addition, which
defaults to days as the time unit when a numeric value is added to a
date. A more standards-compliant form is to explicitly specify the time
unit as an interval.

Signed-off-by: Mark S. Lewis <Mark.S.Lewis@outlook.com>
@bestbeforetoday bestbeforetoday marked this pull request as ready for review February 6, 2025 10:23
@Blizzara Blizzara merged commit b4afdb2 into substrait-io:main Feb 6, 2025
@Blizzara
Copy link
Copy Markdown
Contributor

Blizzara commented Feb 6, 2025

Thanks!

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