Skip to content

Commit

Permalink
fix ut
Browse files Browse the repository at this point in the history
  • Loading branch information
WangGuangxin committed Mar 5, 2024
1 parent 465baf4 commit a678422
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions cpp/velox/substrait/VeloxSubstraitSignature.cc
Original file line number Diff line number Diff line change
Expand Up @@ -172,10 +172,9 @@ TypePtr VeloxSubstraitSignature::fromSubstraitSignature(const std::string& signa
if (startWith(signature, "struct")) {
// Struct type name is in the format of struct<T1,T2,...,Tn>.
auto types = parseNestedTypeSignature(signature);
std::vector<std::string> names;
names.resize(types.size());
std::vector<std::string> names(types.size());
for (int i = 0; i < types.size(); i++) {
names.emplace_back("");
names[i] = "";
}
return std::make_shared<RowType>(std::move(names), std::move(types));
}
Expand Down

0 comments on commit a678422

Please sign in to comment.