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

Method Visit

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

Source from the content-addressed store, hash-verified

606}
607
608Status NumPyConverter::Visit(const BinaryType& type) {
609 ::arrow::internal::ChunkedBinaryBuilder builder(kBinaryChunksize, pool_);
610
611 RETURN_NOT_OK(VisitBinary(&builder));
612
613 ArrayVector result;
614 RETURN_NOT_OK(builder.Finish(&result));
615 for (auto arr : result) {
616 RETURN_NOT_OK(PushArray(arr->data()));
617 }
618 return Status::OK();
619}
620
621Status NumPyConverter::Visit(const LargeBinaryType& type) {
622 ::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