We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent afeeaab commit b0ee0dcCopy full SHA for b0ee0dc
20-ShuffleJoinDemo/src/main/scala/guru/learningjournal/spark/examples/JoinDemo.scala
@@ -19,8 +19,8 @@ object JoinDemo extends Serializable {
19
spark.conf.set("spark.sql.shuffle.partitions", 3)
20
21
val joinExpr = flightTimeDF1.col("id") === flightTimeDF2.col("id")
22
- import org.apache.spark.sql.functions.broadcast
23
- val joinDF = flightTimeDF1.join(broadcast(flightTimeDF2), joinExpr, "inner")
+
+ val joinDF = flightTimeDF1.join(flightTimeDF2, joinExpr, "inner")
24
25
joinDF.foreach(_ => ())
26
scala.io.StdIn.readLine()
0 commit comments