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

Method FinishFixedWidth

cpp/src/arrow/array/util.cc:883–889  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

881 }
882
883 Status FinishFixedWidth(const void* data, size_t data_length) {
884 std::shared_ptr<Buffer> buffer;
885 RETURN_NOT_OK(CreateBufferOf(data, data_length, &buffer));
886 out_ = MakeArray(
887 ArrayData::Make(scalar_.type, length_, {nullptr, std::move(buffer)}, 0));
888 return Status::OK();
889 }
890
891 MemoryPool* pool_;
892 const Scalar& scalar_;

Callers

nothing calls this directly

Calls 3

MakeArrayFunction · 0.70
MakeFunction · 0.70
OKFunction · 0.50

Tested by

no test coverage detected