-
Notifications
You must be signed in to change notification settings - Fork 182
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
Overflow happened on: -2147483648 % -1 #1412
Labels
bug
Something isn't working
Comments
Nice find. Thanks @wForget. Do you plan on working on a fix? |
I will try to fix it. |
It looks addition is working, I wonder what would be the difference
|
Info on rust integer overflow: https://github.com/rust-lang/rfcs/blob/master/text/0560-integer-overflow.md
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
-2147483648 % -1
evaluates to 0 in scala, but fails in rust.scala:
rust:
Steps to reproduce
reproduce with spark sql:
Expected behavior
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: