Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[SPARK-40114][R] Arrow 9.0.0 support with SparkR
### What changes were proposed in this pull request? This PR switches the deprecated API `write_arrow(..., raw())` to use `write_to_raw`. This is exactly the same behaviour/replacement. See also: - https://arrow.apache.org/docs/r/news/index.html#reading-and-writing-9-0-0 for `write_arrow` - https://arrow.apache.org/docs/r/news/index.html#feather-v2-0-17-0 for `write_to_raw`. - https://github.com/apache/arrow/blob/apache-arrow-8.0.0/r/R/deprecated.R#L31-L40 for deprecated implementation of `write_arrow`. ### Why are the changes needed? `write_arrow` is removed out from Arrow 9.0.0 in R Array library. Note that `write_to_raw` has existed from Arrow 0.17.0 so I expect this is a safe change. ### Does this PR introduce _any_ user-facing change? Yes, users can use R Arrow 9.0.0. ### How was this patch tested? Ci in this PR should test it out. Closes apache#37553 from HyukjinKwon/SPARK-40114. Authored-by: Hyukjin Kwon <[email protected]> Signed-off-by: Dongjoon Hyun <[email protected]>
- Loading branch information