Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 4.3k
GH-41011: [C++][Compute] Fix the issue that comparison function could not handle decimal arguments with different scales#47459
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
Uh oh!
There was an error while loading. Please reload this page.
Changes from all commits
62eab1dd3aee89f2c4c91530b929File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading. Please reload this page.
Jump to
Uh oh!
There was an error while loading. Please reload this page.
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -436,8 +436,8 @@ std::shared_ptr<ScalarFunction> MakeCompareFunction(std::string name, FunctionDo | ||
| for (const auto id : {Type::DECIMAL128, Type::DECIMAL256}) { | ||
| auto exec = GenerateDecimal<applicator::ScalarBinaryEqualTypes, BooleanType, Op>(id); | ||
| DCHECK_OK( | ||
| func->AddKernel({InputType(id), InputType(id)}, boolean(), std::move(exec))); | ||
| DCHECK_OK(func->AddKernel({InputType(id), InputType(id)}, boolean(), std::move(exec), | ||
| ||
| /*init=*/nullptr, DecimalsHaveSameScale())); | ||
| } | ||
| { | ||
Uh oh!
There was an error while loading. Please reload this page.
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.
Get excited one more time! @pitrou
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.
My head spins.