| 281 | } |
| 282 | |
| 283 | Status AppendNull() { |
| 284 | auto status = converter_->AppendNull(); |
| 285 | if (ARROW_PREDICT_FALSE(status.IsCapacityError())) { |
| 286 | if (converter_->builder()->length() == 0) { |
| 287 | // Builder length == 0 means the individual element is too large to append. |
| 288 | // In this case, no need to try again. |
| 289 | return status; |
| 290 | } |
| 291 | ARROW_RETURN_NOT_OK(FinishChunk()); |
| 292 | return converter_->AppendNull(); |
| 293 | } |
| 294 | ++length_; |
| 295 | return status; |
| 296 | } |
| 297 | |
| 298 | Status Append(InputType value) { |
| 299 | auto status = converter_->Append(value); |
no test coverage detected