rtpsw commented on PR #14043: URL: https://github.com/apache/arrow/pull/14043#issuecomment-1252759696
> I'm not sure what purpose this serves; when will we be able to use this? When executing an ExecPlan for example we already resolve all the kernels and types in Expression::Bind, then re-use those kernels for each input batch. Maybe this would be better as adding ExecuteScalarOrVectorExpression? The focus here is on the function execution API, i.e., a lower-level API than the plan execution API. Currently, the function execution API goes through kernel selection on each invocation, because the types of the passed arguments may change each time. This PR adds a faster-path for executing a preconfigured kernel when the argument types are known to be fixed across invocations. Note that, in general, these invocations need not be over a stream of batches, like in an execution plan, but could be dynamically driven. -- 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]
