Details

Description

One feedback we received from the Pipeline API (SPARK-3530) is about the boilerplate code in the implementation. We can add more Scala DSL to simplify the code for the operations we need in ML. Those operations could live under spark.ml via implicit, or be added to SchemaRDD directly if they are also useful for general purpose.