Scala, Spark/pyspark