just check size of partitionedByColumns