-
Notifications
You must be signed in to change notification settings - Fork 80
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
feat: add AddSubtractExpr
#14
Conversation
f2133e5
to
f38ae8d
Compare
6171344
to
ed54c25
Compare
8c2a74c
to
55e22a4
Compare
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.
Please add some tests that deal with overflow. I'm concerned that it isn't handled properly.
cacde58
to
b754d70
Compare
613d385
to
18488fd
Compare
0da590e
to
2b1f2a1
Compare
See #20 (in particular, the and_expr_test.rs file) for how I think we should have the tests look going forward. |
025cd19
to
5dd3605
Compare
9c23c26
to
75a4b23
Compare
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.
Looks good. One NIT.
76f699e
to
371993a
Compare
- add `AddSubExpr` and enable + and - elsewhere - generalize `scale_and_subtract_eval` to `scale_and_add_subtract_eval` - make sure we pass in scales in any operation that can involve decimals
🎉 This PR is included in version 0.2.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
Rationale for this change
We need to add support for arithmetic. Let's start from + and -.
What changes are included in this PR?
proof-of-sql
cratescale_and_subtract_eval
toscale_and_add_subtract_eval
Are these changes tested?
Yes.