When performing joins in Spark, one question keeps coming up: When joining
multiple dataframes, how do you prevent ambiguous column name errors?
1) Let's start off by preparing a couple of simple example dataframes
// Create first example dataframe
val firstDF = spark.createDataFrame(Seq(
(1, 1, 2, 3, 8,