diff --git a/velox/exec/tests/TableWriteTest.cpp b/velox/exec/tests/TableWriteTest.cpp index 9256e40716ef..e568fd82f40e 100644 --- a/velox/exec/tests/TableWriteTest.cpp +++ b/velox/exec/tests/TableWriteTest.cpp @@ -562,7 +562,7 @@ class TableWriteTest : public HiveConnectorTestBase { std::vector conjuncts; std::vector partitionKeyValues; - folly::split("/", partitionName, partitionKeyValues); + folly::split('/', partitionName, partitionKeyValues); VELOX_CHECK_EQ(partitionKeyValues.size(), partitionTypes.size()); for (auto i = 0; i < partitionKeyValues.size(); ++i) { diff --git a/velox/functions/lib/aggregates/tests/AggregationTestBase.cpp b/velox/functions/lib/aggregates/tests/AggregationTestBase.cpp index 3ffea953b7ca..80c5f389552c 100644 --- a/velox/functions/lib/aggregates/tests/AggregationTestBase.cpp +++ b/velox/functions/lib/aggregates/tests/AggregationTestBase.cpp @@ -223,7 +223,7 @@ getFunctionNamesAndArgs(const std::vector& aggregates) { std::vector aggregateArgs; for (const auto& aggregate : aggregates) { std::vector tokens; - folly::split("(", aggregate, tokens); + folly::split('(', aggregate, tokens); VELOX_CHECK_EQ(tokens.size(), 2); functionNames.push_back(tokens[0]); aggregateArgs.push_back(tokens[1].substr(0, tokens[1].find(')')));