-
Notifications
You must be signed in to change notification settings - Fork 63
Add implementation of LET clause and LetTests #1745
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
Conversation
CROSS-ENGINE-REPORT ❌
Testing Details
Result Details
Now FAILING Tests ❌The complete list can be found in GitHub CI summary, either from Step Summary or in the Artifact. Now IGNORED Tests ❌The complete list can be found in GitHub CI summary, either from Step Summary or in the Artifact. Now Passing Tests179 test(s) were previously failing in BASE (LEGACY-V0.14.8) but now pass in TARGET (EVAL-71C4A0B). Before merging, confirm they are intended to pass. The complete list can be found in GitHub CI summary, either from Step Summary or in the Artifact. CROSS-COMMIT-REPORT ❌
Testing DetailsResult Details
Now FAILING Tests ❌The following 8 test(s) were previously PASSING in BASE but are now FAILING in TARGET: Click here to see
Now Passing TestsThe following 8 test(s) were previously FAILING in BASE but are now PASSING in TARGET. Before merging, confirm they are intended to pass: Click here to see
|
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.
This is great work. Clean code and comprehensive tests.
One test that we should add for making sure we don't break future functionality is for adding multiple let bindings. For example:
LET t.a + 5 AS b, t.a + 10 AS c, t.a + 15 AS d
Once we add a test(s) for this, this can be shipped. Nice work 👍
/** | ||
* Concatenate bindings in LET clause with existing env bindings from input | ||
*/ | ||
private fun convertLet(input: Rel, let: Let?): Rel { |
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.
👏
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.
will add tests in amendment
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.
Great work 👍
Relevant Issues
Description
Other Information
Updated Unreleased Section in CHANGELOG:
Any backward-incompatible changes?
Any new external dependencies?
Do your changes comply with the Contributing Guidelines
and Code Style Guidelines? YES
License Information
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.