Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

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

Merged
merged 1 commit into from
Feb 6, 2025

Conversation

bestbeforetoday
Copy link
Contributor

@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
13 checks passed
@Blizzara
Copy link
Contributor

Blizzara commented Feb 6, 2025

Thanks!

@bestbeforetoday bestbeforetoday deleted the tpcds-72 branch February 6, 2025 14:10
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants