-
Notifications
You must be signed in to change notification settings - Fork 4k
ARROW-3941: [R] RecordBatchStreamReader$schema #3104
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ARROW-3941: [R] RecordBatchStreamReader$schema #3104
Conversation
Codecov Report
@@ Coverage Diff @@
## master #3104 +/- ##
=========================================
+ Coverage 87.04% 88.15% +1.1%
=========================================
Files 492 434 -58
Lines 69104 65339 -3765
=========================================
- Hits 60154 57601 -2553
+ Misses 8849 7738 -1111
+ Partials 101 0 -101Continue to review full report at Codecov.
|
wesm
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1, but see comment re: removing deprecated API
r/R/RecordBatchReader.R
Outdated
| public = list( | ||
| schema = function() shared_ptr(`arrow::Schema`, RecordBatchReader__schema(self)), | ||
| ReadNext = function() { | ||
| get_next_batch = function() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
get_next_batch is deprecated, can you remove?
| expect_is(batch1, "arrow::RecordBatch") | ||
| expect_equal(batch, batch1) | ||
|
|
||
| expect_null(reader$get_next_batch()) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
s/get/read/g
|
Test failure was transient. Merging |
https://issues.apache.org/jira/browse/ARROW-3941
follow up to #3043 to fix api of classes RecordBatchFileReader, RecordBatchStreamReader, RecordBatchFileWriter, RecordBatchStreamWriter