[SPARK-40114][R] Arrow 9.0.0 support with SparkR #37553
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What changes were proposed in this pull request?
This PR switches the deprecated API
write_arrow(..., raw())
to usewrite_to_raw
. This is exactly the same behaviour/replacement.See also:
write_arrow
write_to_raw
.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.