Leave default value of numPartitions to Scala code.