The original scanColumns may contain the group by columns already.