[[arrow::export]]
| 136 | |
| 137 | // [[arrow::export]] |
| 138 | cpp11::writable::strings RecordBatch__names( |
| 139 | const std::shared_ptr<arrow::RecordBatch>& batch) { |
| 140 | int n = batch->num_columns(); |
| 141 | cpp11::writable::strings names(n); |
| 142 | for (int i = 0; i < n; i++) { |
| 143 | names[i] = batch->column_name(i); |
| 144 | } |
| 145 | return names; |
| 146 | } |
| 147 | |
| 148 | // [[arrow::export]] |
| 149 | std::shared_ptr<arrow::RecordBatch> RecordBatch__Slice1( |
no test coverage detected