@@ -953,7 +953,7 @@ auto getTableFromFilter(soa::is_not_filtered_table auto const& table, soa::Selec
953953 return std::make_unique<o2::soa::Filtered<std::decay_t <decltype (table)>>>(std::vector{table.asArrowTableRef ()}, std::forward<soa::SelectionVector>(selection));
954954}
955955
956- void initializePartitionCaches (std::set< uint32_t > const & hashes, std::shared_ptr<arrow::Schema> const & schema, expressions::Filter const & filter, gandiva::NodePtr& tree, gandiva::FilterPtr& gfilter);
956+ void initializePartitionCaches (const std::span< const uint32_t >& hashes, std::shared_ptr<arrow::Schema> const & schema, expressions::Filter const & filter, gandiva::NodePtr& tree, gandiva::FilterPtr& gfilter);
957957
958958// / Partition ties directly to the argument type
959959// / in a case with several origins in subscriptions it will get the correct input, as the type contains the origin
@@ -975,14 +975,14 @@ struct Partition {
975975 setTable (table);
976976 }
977977
978- void intializeCaches (std::set< uint32_t > const & hashes, std::shared_ptr<arrow::Schema> const & schema)
978+ void intializeCaches (std::span< const uint32_t > const & hashes, std::shared_ptr<arrow::Schema> const & schema)
979979 {
980980 initializePartitionCaches (hashes, schema, filter, tree, gfilter);
981981 }
982982
983983 void bindTable (T const & table)
984984 {
985- intializeCaches (T::table_t::hashes () , table.asArrowTableRef ()->schema ());
985+ intializeCaches (T::table_t ::column_hashes , table.asArrowTableRef ()->schema ());
986986 if (dataframeChanged) {
987987 mFiltered = getTableFromFilter (table, soa::selectionToVector (framework::expressions::createSelection (table.asArrowTable (), gfilter)));
988988 dataframeChanged = false ;
0 commit comments