Skip to content

Commit

Permalink
Fix an abseil-related signature change.
Browse files Browse the repository at this point in the history
  • Loading branch information
EpsilonPrime committed Jul 8, 2023
1 parent e750098 commit 5d86e64
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -790,8 +790,7 @@ std::any SubstraitPlanRelationVisitor::visitExpressionFunctionUse(
expr.mutable_scalar_function()->set_function_reference(funcReference);
for (const auto& exp : ctx->expression()) {
if (endsWith(exp->getText(), "_enum")) {
auto str = exp->getText();
str = absl::StripSuffix(str, "_enum");
auto str = absl::StripSuffix(exp->getText(), "_enum");
expr.mutable_scalar_function()->add_arguments()->set_enum_(str);
continue;
}
Expand Down

0 comments on commit 5d86e64

Please sign in to comment.