alamb opened a new issue #1074: URL: https://github.com/apache/arrow-datafusion/issues/1074
**Is your feature request related to a problem or challenge? Please describe what you are trying to do.** I have code in IOx that builds up custom plans using `LogicalPlanBuilder` and for one of those steps I find myself needing to `cast` expressions (will link PR) but casting requires access to the input schema https://github.com/apache/arrow-datafusion/blob/master/datafusion/src/logical_plan/builder.rs **Describe the solution you'd like** I propose a function like ```rust LogicalPlanBuilder::schema(&self) -> DFSchema ``` That will return the Schema of the plan built so far. **Describe alternatives you've considered** There is a workaround: ```rust let temp_plan = plan_builder.build().unwrap(); let schema = temp_plan.schema(); ``` **Additional context** Add any other context or screenshots about the feature request here. -- 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]
