Github user sun-rui commented on a diff in the pull request: https://github.com/apache/spark/pull/14783#discussion_r76005367 --- Diff: R/pkg/inst/worker/worker.R --- @@ -36,7 +36,14 @@ compute <- function(mode, partition, serializer, deserializer, key, # available since R 3.2.4. So we set the global option here. oldOpt <- getOption("stringsAsFactors") options(stringsAsFactors = FALSE) - inputData <- do.call(rbind.data.frame, inputData) + + # Handle binary data types + if ("raw" %in% sapply(inputData[[1]], class)) { + inputData <- SparkR:::rbindRaws(inputData) --- End diff -- No it is not a preferred style in worker.R. It seems that they were some changes left slip under some previous code review. {code} suppressPackageStartupMessages(library(SparkR)) {code} should be moved to the front of work.R, and thus SparkR::: can be removed. A lot of "SparkR:::" is annoying.
--- 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