Skip to content

Commit a8dbad9

Browse files
committed
Fix CI failure
1 parent 48e52c1 commit a8dbad9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cpp/src/arrow/compute/kernels/scalar_if_else.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1455,7 +1455,7 @@ struct CaseWhenFunction : ScalarFunction {
14551455
static std::shared_ptr<MatchConstraint> DecimalMatchConstraint() {
14561456
static auto constraint =
14571457
MatchConstraint::Make([](const std::vector<TypeHolder>& types) -> bool {
1458-
DCHECK_GE(types.size(), 3);
1458+
DCHECK_GE(types.size(), 2);
14591459
DCHECK(std::all_of(types.begin() + 1, types.end(), [](const TypeHolder& type) {
14601460
return is_decimal(type.id());
14611461
}));

0 commit comments

Comments
 (0)