ENG-4625: implicitly add a index on group by cols for each matview on the source table; use this index to maintain min()/max().