paleolimbot commented on code in PR #13482:
URL: https://github.com/apache/arrow/pull/13482#discussion_r912793393
##########
r/src/recordbatch.cpp:
##########
@@ -32,7 +32,7 @@ int RecordBatch__num_columns(const
std::shared_ptr<arrow::RecordBatch>& x) {
}
// [[arrow::export]]
-int RecordBatch__num_rows(const std::shared_ptr<arrow::RecordBatch>& x) {
+r_vec_size RecordBatch__num_rows(const std::shared_ptr<arrow::RecordBatch>& x)
{
return x->num_rows();
Review Comment:
```suggestion
return r_vec_size(x->num_rows());
```
##########
r/src/table.cpp:
##########
@@ -28,7 +28,9 @@ int Table__num_columns(const std::shared_ptr<arrow::Table>&
x) {
}
// [[arrow::export]]
-int Table__num_rows(const std::shared_ptr<arrow::Table>& x) { return
x->num_rows(); }
+r_vec_size Table__num_rows(const std::shared_ptr<arrow::Table>& x) {
+ return x->num_rows();
Review Comment:
```suggestion
return r_vec_size(x->num_rows());
```
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]