Scala is a general-purpose programming language principally targeting the Java Virtual Machine.
I've started using Spark SQL and DataFrames in Spark 1.4.0. I'm wanting to define a custom partitioner on DataFrames, in Scala, …
scala apache-spark dataframe apache-spark-sql partitioningIs there any difference between ::: and ++ for concatenating lists in Scala? scala> List(1,2,3) ++ List(4,5) res0: List[Int] = List(1, 2, 3, 4, 5) scala&…
list scala concatenationI would like to be able to find a match between the first letter of a word, and one of …
regex scalaI have constructed two dataframes. How can we join multiple Spark dataframes ? For Example : PersonDf, ProfileDf with a common column …
scala apache-spark dataframe apache-spark-sqlI want to create on DataFrame with a specified schema in Scala. I have tried to use JSON read (I …
scala apache-spark dataframe apache-spark-sqlFor reading, there is the useful abstraction Source. How can I write lines to a text file?
scala file-io scala-2.8I've taken a look at the list of surveys taken on scala-lang.org and noticed a curious question: "Can you …
scalaSay I have an Array[Int] like val array = Array( 1, 2, 3 ) Now I would like to append an element to the …
arrays scala appendIf I have a collection c of type T and there is a property p on T (of type P, …
scala map scala-collectionsI've seen in many examples that sometimes a Seq is being used, while other times is the List... Is there …
list scala collections seq