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

Function FromProtoImpl

cpp/src/arrow/engine/substrait/type_internal.cc:56–61  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

54
55template <typename ArrowType, typename TypeMessage, typename... A>
56Result<std::pair<std::shared_ptr<DataType>, bool>> FromProtoImpl(const TypeMessage& type,
57 A&&... args) {
58 return std::make_pair(std::static_pointer_cast<DataType>(
59 std::make_shared<ArrowType>(std::forward<A>(args)...)),
60 IsNullable(type));
61}
62
63template <typename TypeMessage, typename... A>
64Result<std::pair<std::shared_ptr<DataType>, bool>> FromProtoImpl(

Callers 1

FromProtoFunction · 0.85

Calls 1

IsNullableFunction · 0.85

Tested by

no test coverage detected