HyukjinKwon commented on a change in pull request #29252:
URL: https://github.com/apache/spark/pull/29252#discussion_r460616116



##########
File path: R/pkg/R/DataFrame.R
##########
@@ -1233,7 +1233,7 @@ setMethod("collect",
                   port = port, blocking = TRUE, open = "wb", timeout = 
connectionTimeout)
                 output <- tryCatch({
                   doServerAuth(conn, authSecret)
-                  arrowTable <- arrow::read_arrow(readRaw(conn))
+                  arrowTable <- arrow::read_ipc_stream(readRaw(conn))

Review comment:
       Let me just bump up the minimal version of Arrow in SparkR at 
https://github.com/apache/spark/pull/29253. Should be fine since such minimal 
version bump-up is already documented.




----------------------------------------------------------------
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]

Reply via email to