Support iterate and list in group by processing #514