File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Framework/Core/include/Framework Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1762,7 +1762,7 @@ auto spawner(framework::pack<C...> columns, arrow::Table* atable)
17621762 arrow::ArrayVector v;
17631763 std::array<arrow::ArrayVector, sizeof ...(C)> chunks;
17641764
1765- auto projectors = framework::expressions::createProjectors (columns, atable->schema ());
1765+ static auto projectors = framework::expressions::createProjectors (columns, atable->schema ());
17661766 while (true ) {
17671767 auto s = reader.ReadNext (&batch);
17681768 if (!s.ok ()) {
@@ -1783,7 +1783,7 @@ auto spawner(framework::pack<C...> columns, arrow::Table* atable)
17831783 for (auto i = 0u ; i < sizeof ...(C); ++i) {
17841784 arrays.push_back (std::make_shared<arrow::ChunkedArray>(chunks[i]));
17851785 }
1786- auto new_schema = o2::soa::createSchemaFromColumns (columns);
1786+ static auto new_schema = o2::soa::createSchemaFromColumns (columns);
17871787 return arrow::Table::Make (new_schema, arrays);
17881788}
17891789
You can’t perform that action at this time.
0 commit comments