Skip to content
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

Decimal128: added missing decimal128 signature on Spark 32X #4177

Merged
merged 1 commit into from
Nov 22, 2021

Conversation

sperlingxx
Copy link
Collaborator

Signed-off-by: sperlingxx lovedreamf@gmail.com

Fixes #4175

Signed-off-by: sperlingxx <lovedreamf@gmail.com>
@sperlingxx
Copy link
Collaborator Author

build

@pxLi pxLi added the bug Something isn't working label Nov 22, 2021
@pxLi pxLi merged commit 0fdb1cb into NVIDIA:branch-21.12 Nov 22, 2021
@sperlingxx sperlingxx deleted the hotfix_abs_320 branch November 22, 2021 09:32
@@ -221,8 +221,7 @@ abstract class SparkBaseShims extends Spark31XShims with Logging {
GpuOverrides.expr[Abs](
"Absolute value",
ExprChecks.unaryProjectAndAstInputMatchesOutput(
TypeSig.implicitCastsAstTypes, TypeSig.gpuNumeric + TypeSig.DECIMAL_128_FULL,
TypeSig.numeric),
TypeSig.implicitCastsAstTypes, TypeSig.numeric, TypeSig.numeric),
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TypeSig.numeric is not supposed to be used on GPU type checks, it is for CPU type checks. That is the reason we were doing TypeSig.gpuNumeric + TypeSig.DECIMAL_128_FULL.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] arithmetic_ops_test failed in spark 3.2.0
3 participants