Scala is a general-purpose programming language principally targeting the Java Virtual Machine.
I'm new to Scala ,just started learning it today.I would like to know how to initialize an array in …
scala array-initializationHow do I "join" an iterable of strings by another string in Scala? val thestrings = Array("a","b","c") val …
string scalaI want to get the type of a variable at runtime. How do I do this?
scala reflectionI have a text file on HDFS and I want to convert it to a Data Frame in Spark. I …
scala apache-spark dataframe apache-spark-sql rddWhat's the best way to parse command-line parameters in Scala? I personally prefer something lightweight that does not require external …
scala command-line command-line-parsingI want to select a column that equals to a certain value. I am doing this in scala and having …
scala apache-spark dataframe apache-spark-sqlI am using the build in JSON class in Scala 2.8 to parse JSON code. I don't want to use the …
json scalaWhat's the difference between an RDD's map and mapPartitions method? And does flatMap behave like map or like mapPartitions? Thanks. (…
performance scala apache-spark rddTrue ... it has been discussed quite a lot. However there is a lot of ambiguity and some of the answers …
java scala apache-spark jar spark-submit