rtpsw commented on code in PR #33909:
URL: https://github.com/apache/arrow/pull/33909#discussion_r1102001909
##########
cpp/src/arrow/engine/substrait/options.h:
##########
@@ -67,6 +69,16 @@ using NamedTableProvider =
std::function<Result<compute::Declaration>(const
std::vector<std::string>&)>;
static NamedTableProvider kDefaultNamedTableProvider;
+using NamedTapKindMapper = std::function<Result<compute::Declaration>(
+ const std::string&, std::vector<compute::Declaration::Input>,
+ std::shared_ptr<compute::ExecNodeOptions>)>;
+static NamedTapKindMapper kDefaultNamedTapKindMapper =
+ [](const std::string& kind, std::vector<compute::Declaration::Input>
inputs,
+ std::shared_ptr<compute::ExecNodeOptions> options)
+ -> Result<compute::Declaration> {
+ return compute::Declaration(kind, inputs, options);
Review Comment:
Done.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]