Skip to content

Commit 4737778

Browse files
Devmate Botfacebook-github-bot
authored andcommitted
fbcode/velox/expression/ComplexViewTypes.h (#15448)
Summary: Pull Request resolved: #15448 Reviewed By: yfeldblum Differential Revision: D85773353
1 parent 7248075 commit 4737778

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

velox/expression/ComplexViewTypes.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -599,6 +599,7 @@ class ArrayView {
599599

600600
materialize_t materialize() const {
601601
materialize_t result;
602+
result.reserve(size_);
602603

603604
for (const auto& element : *this) {
604605
if constexpr (returnsOptionalValues) {

0 commit comments

Comments
 (0)