HyukjinKwon commented on a change in pull request #28386:
URL: https://github.com/apache/spark/pull/28386#discussion_r524038504
##########
File path: R/pkg/R/DataFrame.R
##########
@@ -3444,7 +3445,8 @@ setMethod("as.data.frame",
#' @note attach since 1.6.0
setMethod("attach",
signature(what = "SparkDataFrame"),
- function(what, pos = 2L, name = deparse(substitute(what), backtick =
FALSE),
+ function(what, pos = 2L,
+ name = paste(deparse(substitute(what), backtick = FALSE),
collapse = " "),
Review comment:
Sorry for an ignorant question. Why do we need `collapse = " "`?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]