We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent daf7696 commit 0e54c34Copy full SHA for 0e54c34
1 file changed
src/paimon/common/executor/future.h
@@ -99,7 +99,7 @@ std::vector<T> CollectAll(std::vector<std::future<T>>& futures) {
99
std::vector<T> results;
100
results.reserve(futures.size()); // Reserve space to avoid reallocation.
101
for (auto& future : futures) {
102
- results.push_back(future.get());
+ results.push_back(future.get()); // Wait for each future and collect the result.
103
}
104
105
return results;
0 commit comments