Spark Transformation Types and Actions