Spark, Big Data, Processing, Data Engineering, Threads.
join join2 on join1.id = join2.id").saveAsTable("result") In the above code block join1 and join2 can be run in parallel but due to the sequential model of spark execution join2 will be waiting for join1 to finish first. Let us look at some practical example here : All the saveAsTable commands in