group by partition_ident also doesn't make sense if filtered by table_name as its always unique