deferring spark actions to lazy transforms with the promise rdd