We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b2ebc90 commit 58b42fcCopy full SHA for 58b42fc
1 file changed
Framework/CCDBSupport/src/AnalysisCCDBHelpers.cxx
@@ -148,6 +148,12 @@ AlgorithmSpec AnalysisCCDBHelpers::fetchFromCCDB(ConfigContext const& /*ctx*/)
148
builders.emplace_back(std::make_shared<arrow::BinaryViewBuilder>());
149
}
150
151
+ auto reserveSize = timestampColumn->length();
152
+ arrow::Status status;
153
+ for (auto i = 0U; i < builders.size(); ++i) {
154
+ status &= builders[i]->Reserve(reserveSize);
155
+ }
156
+
157
for (auto ci = 0; ci < timestampColumn->num_chunks(); ++ci) {
158
std::shared_ptr<arrow::Array> chunk = timestampColumn->chunk(ci);
159
auto const* timestamps = chunk->data()->GetValuesSafe<size_t>(1);
0 commit comments