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

Method Convert

cpp/src/arrow/json/converter.cc:86–92  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

84 using PrimitiveConverter::PrimitiveConverter;
85
86 Status Convert(const std::shared_ptr<Array>& in, std::shared_ptr<Array>* out) override {
87 if (in->type_id() != Type::NA) {
88 return GenericConversionError(*out_type_, " from ", *in->type());
89 }
90 *out = in;
91 return Status::OK();
92 }
93};
94
95class BooleanConverter : public PrimitiveConverter {

Callers 4

InsertMethod · 0.45
TryConvertChunkMethod · 0.45
ConvertMethod · 0.45
ConvertFunction · 0.45

Calls 4

GenericConversionErrorFunction · 0.70
OKFunction · 0.70
type_idMethod · 0.45
typeMethod · 0.45

Tested by 1

ConvertFunction · 0.36