I have to process records in a batch from database table, such that processing happens in parallel based on group by one database column. Example I have a table T with columns A