Skip to content

Commit

Permalink
Rebundling abseil as the old version on Ubuntu does not have SimpleHe…
Browse files Browse the repository at this point in the history
…xAtoi.
  • Loading branch information
EpsilonPrime committed Jul 8, 2023
1 parent 6d19bcc commit 8c1a99a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@
[submodule "third_party/fmt"]
path = third_party/fmt
url = https://github.com/fmtlib/fmt
[submodule "third_party/abseil-cpp"]
path = third_party/abseil-cpp
url = https://github.com/abseil/abseil-cpp.git
[submodule "third_party/datetime"]
path = third_party/datetime
url = https://github.com/HowardHinnant/date.git
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -790,7 +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")) {
std::string str = absl::StripSuffix(exp->getText(), "_enum");
std::string str{absl::StripSuffix(exp->getText(), "_enum")};
expr.mutable_scalar_function()->add_arguments()->set_enum_(str);
continue;
}
Expand Down
1 change: 1 addition & 0 deletions third_party/abseil-cpp
Submodule abseil-cpp added at c8a2f9

0 comments on commit 8c1a99a

Please sign in to comment.