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

Function ParseEnumArg

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

Source from the content-addressed store, hash-verified

802
803template <typename Enum>
804Result<Enum> ParseEnumArg(const SubstraitCall& call, int arg_index,
805 const EnumParser<Enum>& parser) {
806 ARROW_ASSIGN_OR_RAISE(std::string_view enum_val, call.GetEnumArg(arg_index));
807 return parser.Parse(enum_val);
808}
809
810Result<std::vector<compute::Expression>> GetValueArgs(const SubstraitCall& call,
811 int start_index) {

Callers

nothing calls this directly

Calls 1

ParseMethod · 0.45

Tested by

no test coverage detected