viirya opened a new pull request #25012: [SPARK-28215][SQL][R] as_tibble was removed from Arrow R API URL: https://github.com/apache/spark/pull/25012 ## What changes were proposed in this pull request? New R api of Arrow has removed `as_tibble`. Arrow optimization for DataFrame in R doesn't work due to the change. This can be tested as below, after installing latest Arrow: ``` ./bin/sparkR --conf spark.sql.execution.arrow.sparkr.enabled=true ``` ``` > collect(createDataFrame(mtcars)) ``` Before this PR: ``` > collect(createDataFrame(mtcars)) Error in get("as_tibble", envir = asNamespace("arrow")) : object 'as_tibble' not found ``` ``` > collect(createDataFrame(mtcars)) mpg cyl disp hp drat wt qsec vs am gear carb 1 21.0 6 160.0 110 3.90 2.620 16.46 0 1 4 4 2 21.0 6 160.0 110 3.90 2.875 17.02 0 1 4 4 3 22.8 4 108.0 93 3.85 2.320 18.61 1 1 4 1 ... ``` ## How was this patch tested? Manual test.
---------------------------------------------------------------- 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] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
