-
Notifications
You must be signed in to change notification settings - Fork 63
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 Timestamp Type Parsing Issue. #1284
Conversation
Conformance comparison report
Number passing in both: 5372 Number failing in both: 446 Number passing in Base (6ba5a12) but now fail: 0 Number failing in Base (6ba5a12) but now pass: 0 |
@Test | ||
fun callIsTimestamp() = assertExpression( | ||
"t1 IS TIMESTAMP", | ||
"(is_type (id t1 (case_insensitive) (unqualified)) (timestamp_type null))" | ||
) | ||
|
||
@Test | ||
fun callIsTime() = assertExpression( | ||
"t1 IS TIME", | ||
"(is_type (id t1 (case_insensitive) (unqualified)) (time_type null))" | ||
) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just to avoid potential failures in the future, can you also add the WITH TIME ZONE
test to each?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added Tests for Time Zone And Precision.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Did you forget to push? I don't see any changes rn.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry the push command failed due to a rebased...
* Adds support for EXCLUDE in the SqlDialect * fix typer/transfomrer * Fix Timestamp Type Parsing Issue. (#1284) * fix timestamp type parsing issue * Refactors partiql-tests-runner for multiple engines (#1289) * Adds int32 and int64 variants of date_add (#1291) * Adds support for DISTINCT in the Planner * Fix PlanCompiler output type for DISTINCT + ORDER BY (#1298) * Fixes scan_indexed and adds PIVOT (#1297) * Port filter_distinct fix to partiql-eval internal --------- Co-authored-by: John Ed Quinn <johqunn@amazon.com> Co-authored-by: Yingtao Liu <yliuuu@amazon.com> Co-authored-by: yliuuuu <107505258+yliuuuu@users.noreply.github.com> Co-authored-by: John Ed Quinn <40360967+johnedquinn@users.noreply.github.com> Co-authored-by: R. C. Howell <RCHowell@users.noreply.github.com>
Relevant Issues
Description
Other Information
Updated Unreleased Section in CHANGELOG: [YES/NO]
Any backward-incompatible changes? [YES/NO]
Any new external dependencies? [YES/NO]
Do your changes comply with the Contributing Guidelines
and Code Style Guidelines? [YES/NO]
Yes.
License Information
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.