allow specifying of expected group_by types