| 879 | } |
| 880 | |
| 881 | ExtensionIdRegistry::ArrowToSubstraitCall EncodeBasic(Id substrait_fn_id) { |
| 882 | return |
| 883 | [substrait_fn_id](const compute::Expression::Call& call) -> Result<SubstraitCall> { |
| 884 | // nullable=true errs on the side of caution |
| 885 | SubstraitCall substrait_call(substrait_fn_id, call.type.GetSharedPtr(), |
| 886 | /*nullable=*/true); |
| 887 | for (std::size_t i = 0; i < call.arguments.size(); i++) { |
| 888 | substrait_call.SetValueArg(static_cast<int>(i), call.arguments[i]); |
| 889 | } |
| 890 | return substrait_call; |
| 891 | }; |
| 892 | } |
| 893 | |
| 894 | ExtensionIdRegistry::ArrowToSubstraitCall EncodeIsNull(Id substrait_fn_id) { |
| 895 | return |
no test coverage detected