There is already a sample method that returns SchemaRDD above.