Skip to content

Commit

Permalink
clang 19 fix
Browse files Browse the repository at this point in the history
  • Loading branch information
baibaichen committed Dec 28, 2024
1 parent c1f2fa8 commit 3e93ed5
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@ struct SparkDecimalBinaryOperation
auto scaled_right = scale_right > 1 ? applyScaled(right, scale_right) : right;

ScaledNativeType c_res = 0;
auto success = Operation::template apply(scaled_left, scaled_right, c_res);
auto success = Operation::template apply<>(scaled_left, scaled_right, c_res);
if (!success)
return false;

Expand Down Expand Up @@ -459,7 +459,7 @@ class SparkFunctionDecimalBinaryArithmetic final : public IFunction
right_generic,
removeNullable(arguments[2].type).get(),
[&](const auto & left, const auto & right, const auto & result) {
return (res = SparkDecimalBinaryOperation<Operation, mode>::template executeDecimal(arguments, left, right, result))
return (res = SparkDecimalBinaryOperation<Operation, mode>::template executeDecimal<>(arguments, left, right, result))
!= nullptr;
});

Expand Down

0 comments on commit 3e93ed5

Please sign in to comment.