diff --git a/Framework/Core/include/Framework/ASoA.h b/Framework/Core/include/Framework/ASoA.h index 70168d8352bc5..af5b6e577dfa1 100644 --- a/Framework/Core/include/Framework/ASoA.h +++ b/Framework/Core/include/Framework/ASoA.h @@ -1046,7 +1046,8 @@ auto select(T const& t, framework::expressions::Filter const& f) } template -arrow::ChunkedArray* getColumnByType(framework::pack columns, arrow::Table* table) { +arrow::ChunkedArray* getColumnByType(framework::pack columns, arrow::Table* table) +{ return table->column(framework::has_type_at_v(columns)).get(); } @@ -1348,7 +1349,7 @@ class Table arrow::ChunkedArray* lookupColumn() { if constexpr (T::persistent::value) { - return getColumnByType(persistent_columns_t{},mTable.get()); + return getColumnByType(persistent_columns_t{}, mTable.get()); } else { return nullptr; }