We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 48e52c1 commit a8dbad9Copy full SHA for a8dbad9
cpp/src/arrow/compute/kernels/scalar_if_else.cc
@@ -1455,7 +1455,7 @@ struct CaseWhenFunction : ScalarFunction {
1455
static std::shared_ptr<MatchConstraint> DecimalMatchConstraint() {
1456
static auto constraint =
1457
MatchConstraint::Make([](const std::vector<TypeHolder>& types) -> bool {
1458
- DCHECK_GE(types.size(), 3);
+ DCHECK_GE(types.size(), 2);
1459
DCHECK(std::all_of(types.begin() + 1, types.end(), [](const TypeHolder& type) {
1460
return is_decimal(type.id());
1461
}));
0 commit comments