Skip to content

Commit ea98ea1

Browse files
committed
Documentation & literal expressions.
1 parent 2b22684 commit ea98ea1

File tree

8 files changed

+910
-154
lines changed

8 files changed

+910
-154
lines changed

mllib/src/main/scala/org/apache/spark/ml/recommendation/ALS.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,8 +137,8 @@ class ALSModel private[ml] (
137137
.as(map(predictionCol))
138138
val outputColumns = inputColumns.map(f => $"$instanceTable.$f".as(f)) :+ prediction
139139
instances
140-
.join(users, "left", Column(map(userCol)) === $"$userTable.id")
141-
.join(items, "left", Column(map(itemCol)) === $"$itemTable.id")
140+
.join(users, Column(map(userCol)) === $"$userTable.id", "left")
141+
.join(items, Column(map(itemCol)) === $"$itemTable.id", "left")
142142
.select(outputColumns: _*)
143143
}
144144

0 commit comments

Comments
 (0)