Github user zero323 commented on a diff in the pull request: https://github.com/apache/spark/pull/17851#discussion_r114704425 --- Diff: R/pkg/R/DataFrame.R --- @@ -3715,3 +3715,34 @@ setMethod("rollup", sgd <- callJMethod(x@sdf, "rollup", jcol) groupedData(sgd) }) + +#' hint +#' +#' Specifies execution plan hint on the current SparkDataFrame. +#' +#' @param x a SparkDataFrame. +#' @param name a name of the hint. +#' @param ... additional argument(s) passed to the method. --- End diff -- Scala is even [more cryptic](https://github.com/rxin/spark/blob/b84badc29c5ca315791e4d023bdebb046e0b3b4f/sql/core/src/main/scala/org/apache/spark/sql/Dataset.scala#L1163-L1171) here. I adjusted it a bit, but I think we can revisit this once we have some practical examples.
--- 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 infrastruct...@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org