HyukjinKwon commented on a change in pull request #28387:
URL: https://github.com/apache/spark/pull/28387#discussion_r416431223
##########
File path: R/pkg/R/DataFrame.R
##########
@@ -1226,8 +1226,7 @@ setMethod("collect",
# empty data.frame with 0 columns and 0 rows
data.frame()
} else if (useArrow) {
- requireNamespace1 <- requireNamespace
- if (requireNamespace1("arrow", quietly = TRUE)) {
+ if (requireNamespace("arrow", quietly = TRUE)) {
read_arrow <- get("read_arrow", envir = asNamespace("arrow"),
inherits = FALSE)
Review comment:
@MichaelChirico I believe this can be fixed as `arrow::read_arrow`. It
was also a workaround. see also https://github.com/apache/spark/pull/25993
----------------------------------------------------------------
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]