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.
2 parents 3f00bb3 + e353340 commit ebc1efaCopy full SHA for ebc1efa
sql/core/src/main/scala/org/apache/spark/sql/DataFrame.scala
@@ -337,11 +337,11 @@ class DataFrame protected[sql](
337
* {{{
338
* // Scala:
339
* import org.apache.spark.sql.functions._
340
- * df1.join(df2, "outer", $"df1Key" === $"df2Key")
+ * df1.join(df2, $"df1Key" === $"df2Key", "outer")
341
*
342
* // Java:
343
* import static org.apache.spark.sql.functions.*;
344
- * df1.join(df2, "outer", col("df1Key") === col("df2Key"));
+ * df1.join(df2, col("df1Key") === col("df2Key"), "outer");
345
* }}}
346
347
* @param right Right side of the join.
0 commit comments