Github user hvanhovell commented on a diff in the pull request:
https://github.com/apache/spark/pull/17708#discussion_r112505796
--- Diff: sql/core/src/main/scala/org/apache/spark/sql/functions.scala ---
@@ -1007,22 +1006,38 @@ object functions {
def map(cols: Column*): Column = withExpr { CreateMap(cols.map(_.expr)) }
/**
- * Marks a DataFrame as small enough for use in broadcast joins.
- *
- * The following example marks the right DataFrame for broadcast hash
join using `joinKey`.
- * {{{
- * // left and right are DataFrames
- * left.join(broadcast(right), "joinKey")
- * }}}
- *
- * @group normal_funcs
- * @since 1.5.0
- */
+ * Marks a DataFrame as small enough for use in broadcast joins.
+ *
+ * The following example marks the right DataFrame for broadcast hash
join using `joinKey`.
+ * {{{
+ * // left and right are DataFrames
+ * left.join(broadcast(right), "joinKey")
+ * }}}
+ *
+ * @group normal_funcs
+ * @since 1.5.0
+ */
def broadcast[T](df: Dataset[T]): Dataset[T] = {
Dataset[T](df.sparkSession, BroadcastHint(df.logicalPlan))(df.exprEnc)
}
/**
+ * Marks a DataFrame as small enough for use in broadcast joins.
--- End diff --
Nit: the alignment is of by a space, it should be:
```
/**
* Text...
*/
```
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]