Spark 1271 (1320) cogroup and groupby should pass iterator[x]