questions/apache-spark/page/6
Hey, You can follow this code: scala> var s=Set(1,4,4,3) s: ...READ MORE
Refer to the following code: val sqlContext = ...READ MORE
Hey, There is one main difference. This statement ...READ MORE
You can access task information using TaskContext: import org.apache.spark.TaskContext sc.parallelize(Seq[Int](), ...READ MORE
Hey, The Map.contains() method will tell you if ...READ MORE
In the above statement, x(2) is specifying an array ...READ MORE
Hey, Used with a loop, yield produces a value for ...READ MORE
Hey, With Scala, we can define a Scala ...READ MORE
Hi, A for-comprehension is one way to carry ...READ MORE
Hi, With Scala Currying, we can take a ...READ MORE
Hi, Anonymous functions in Scala is the lightweight ...READ MORE
Hey, We have four kinds of identifiers in ...READ MORE
Hey, Recursion is when a function makes a ...READ MORE
All prefix operators' symbols are predefined: +, -, ...READ MORE
Hi, A lens is an abstraction from functional ...READ MORE
Hi, The map is a specific line or ...READ MORE
Hey, Lineage is an RDD process to reconstruct ...READ MORE
Hey, We can append a Scala array to ...READ MORE
You have to install Intellij with scala plugin. ...READ MORE
Hey, A Scala function involves recursion when it ...READ MORE
Hi, To create a Scala function, we use ...READ MORE
Hi, A closure in Scala is a function ...READ MORE
Hi, Scala library has purely functional data structures ...READ MORE
Hey, A Scala Option is a kind of ...READ MORE
Hi, We can declare Scala arrays in two ...READ MORE
Hi, When a function experiences an exception, it ...READ MORE
If you are trying to load file ...READ MORE
Hey, A BitSet is a set of non-negative ...READ MORE
Hey, Unit is a subtype of scala.anyval and ...READ MORE
Hey, The range() method will give us integers ...READ MORE
After downloading Spark, you need to set ...READ MORE
Hi, A stream is a lazy list as ...READ MORE
I'm trying to load data to mysql ...READ MORE
Hey, The app is a helper class that ...READ MORE
Hi, Scala uses immutability by default in most ...READ MORE
Hi, We can use loop control structures to ...READ MORE
Hi, If we omit an argument in a ...READ MORE
Hey, In this language, val is a value and var is ...READ MORE
Hey, With varargs, we can pass a variable ...READ MORE
The HDFS path for MyLab is /user/edureka_id. ...READ MORE
You have to use sqoop to export data ...READ MORE
Spark uses a master/slave architecture. As you ...READ MORE
1) Use the concat() function. Refer to the below ...READ MORE
Hi, You can compute the average using this ...READ MORE
Can anyone explain what is immutability in ...READ MORE
Hi, Spark Driver is the program that runs ...READ MORE
Hi, You can see this example to get ...READ MORE
Temporary table is more like an index ...READ MORE
If you just want to get your ...READ MORE
Hi, Yes, "foreach" function you use because it will ...READ MORE
OR
Already have an account? Sign in.