| 632 | return Status::OK(); |
| 633 | } |
| 634 | Status VisitValue(std::string_view v) { |
| 635 | batch->notNull[running_orc_offset] = true; |
| 636 | batch->data[running_orc_offset] = reinterpret_cast<char*>( |
| 637 | const_cast<uint8_t*>(array.GetValue(running_arrow_offset))); |
| 638 | batch->length[running_orc_offset] = data_length; |
| 639 | running_orc_offset++; |
| 640 | running_arrow_offset++; |
| 641 | return Status::OK(); |
| 642 | } |
| 643 | const FixedSizeBinaryArray& array; |
| 644 | liborc::StringVectorBatch* batch; |
| 645 | int64_t running_orc_offset, running_arrow_offset; |