| 688 | } |
| 689 | |
| 690 | Status WriteFixedSizeBinaryBatch(const Array& array, int64_t orc_offset, |
| 691 | liborc::ColumnVectorBatch* column_vector_batch) { |
| 692 | const FixedSizeBinaryArray& array_(checked_cast<const FixedSizeBinaryArray&>(array)); |
| 693 | auto batch = checked_cast<liborc::StringVectorBatch*>(column_vector_batch); |
| 694 | if (array.null_count()) { |
| 695 | batch->hasNulls = true; |
| 696 | } |
| 697 | FixedSizeBinaryAppender appender{array_, batch, orc_offset, 0, array_.byte_width()}; |
| 698 | ArraySpanVisitor<FixedSizeBinaryType> visitor; |
| 699 | RETURN_NOT_OK(visitor.Visit(*array_.data(), &appender)); |
| 700 | return Status::OK(); |
| 701 | } |
| 702 | |
| 703 | Status WriteStructBatch(const Array& array, int64_t orc_offset, |
| 704 | liborc::ColumnVectorBatch* column_vector_batch) { |
no test coverage detected