From f37989f3d88d4bf11d991f72f19a8f1f4dd2ea59 Mon Sep 17 00:00:00 2001 From: Konstantin Bogdanov Date: Wed, 20 Nov 2024 23:09:34 +0100 Subject: [PATCH] Fix tidy --- src/Processors/tests/gtest_write_parquet_page_index.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Processors/tests/gtest_write_parquet_page_index.cpp b/src/Processors/tests/gtest_write_parquet_page_index.cpp index 591b794a53f..630499ca874 100644 --- a/src/Processors/tests/gtest_write_parquet_page_index.cpp +++ b/src/Processors/tests/gtest_write_parquet_page_index.cpp @@ -217,6 +217,7 @@ TEST(Parquet, WriteParquetPageIndexParrelelPlainEnconding) std::vector> values; std::vector col; + col.reserve(100000); for (size_t i = 0; i < 100000; i++) { col.push_back(std::to_string(i)); @@ -293,6 +294,7 @@ TEST(Parquet, WriteParquetPageIndexSingleThread) std::vector> values; std::vector col; + col.reserve(1000); for (size_t i = 0; i < 1000; i++) { col.push_back(i % 10);