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

Function DecodeConcatMapping

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

Source from the content-addressed store, hash-verified

968}
969
970ExtensionIdRegistry::SubstraitCallToArrow DecodeConcatMapping() {
971 return [](const SubstraitCall& call) -> Result<compute::Expression> {
972 ARROW_ASSIGN_OR_RAISE(std::vector<compute::Expression> value_args,
973 GetValueArgs(call, 0));
974 value_args.push_back(compute::literal(""));
975 return compute::call("binary_join_element_wise", std::move(value_args));
976 };
977}
978
979// Substrait's starts_with / ends_with / contains take the pattern as a second
980// value argument. The matching Arrow kernels (starts_with / ends_with /

Callers 1

Calls 5

GetValueArgsFunction · 0.85
push_backMethod · 0.80
ARROW_ASSIGN_OR_RAISEFunction · 0.70
literalFunction · 0.50
callFunction · 0.50

Tested by

no test coverage detected