spark: splittable apply