| 968 | } |
| 969 | |
| 970 | ExtensionIdRegistry::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 / |
no test coverage detected