adriangb commented on code in PR #18719:
URL: https://github.com/apache/datafusion/pull/18719#discussion_r2535618182
##########
datafusion/physical-expr/src/projection.rs:
##########
@@ -396,6 +406,35 @@ impl ProjectionExprs {
))
}
+ /// Project a RecordBatch.
+ ///
+ /// This function accepts a pre-computed output schema instead of calling
[`ProjectionExprs::project_schema`]
+ /// so that repeated calls do not have schema projection overhead.
+ pub fn project_batch(
Review Comment:
The point is that users don't have to track `output_schema` and pass it in,
they can just keep track of a `Projector`
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]