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

Function ParseEnumArg

cpp/src/arrow/engine/substrait/extension_set.cc:789–793  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

787
788template <typename Enum>
789Result<Enum> ParseEnumArg(const SubstraitCall& call, int arg_index,
790 const EnumParser<Enum>& parser) {
791 ARROW_ASSIGN_OR_RAISE(std::string_view enum_val, call.GetEnumArg(arg_index));
792 return parser.Parse(enum_val);
793}
794
795Result<std::vector<compute::Expression>> GetValueArgs(const SubstraitCall& call,
796 int start_index) {

Callers

nothing calls this directly

Calls 1

ParseMethod · 0.45

Tested by

no test coverage detected