MCPcopy Create free account
hub / github.com/apache/arrow / Visit

Method Visit

python/pyarrow/src/arrow/python/numpy_to_arrow.cc:599–610  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

597}
598
599Status NumPyConverter::Visit(const BinaryType& type) {
600 ::arrow::internal::ChunkedBinaryBuilder builder(kBinaryChunksize, pool_);
601
602 RETURN_NOT_OK(VisitBinary(&builder));
603
604 ArrayVector result;
605 RETURN_NOT_OK(builder.Finish(&result));
606 for (auto arr : result) {
607 RETURN_NOT_OK(PushArray(arr->data()));
608 }
609 return Status::OK();
610}
611
612Status NumPyConverter::Visit(const LargeBinaryType& type) {
613 ::arrow::LargeBinaryBuilder builder(pool_);

Callers

nothing calls this directly

Calls 15

fixed_size_binaryFunction · 0.85
InitializeUTF8Function · 0.85
MaskToBitmapFunction · 0.85
BytesForBitsFunction · 0.85
emplace_backMethod · 0.80
push_backMethod · 0.80
OKFunction · 0.50
InvalidFunction · 0.50
TypeErrorFunction · 0.50
ARROW_ASSIGN_OR_RAISEFunction · 0.50
CopyBitmapFunction · 0.50

Tested by

no test coverage detected