Github user huaxingao commented on a diff in the pull request: https://github.com/apache/spark/pull/21649#discussion_r216727458 --- Diff: R/pkg/R/DataFrame.R --- @@ -3939,7 +3929,15 @@ setMethod("hint", signature(x = "SparkDataFrame", name = "character"), function(x, name, ...) { parameters <- list(...) - stopifnot(all(sapply(parameters, isTypeAllowedForSqlHint))) + stopifnot(all(sapply(parameters, function(x) { --- End diff -- My bad. Will change.
--- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org