alamb opened a new pull request #1075: URL: https://github.com/apache/arrow-datafusion/pull/1075
# Which issue does this PR close? Resolves https://github.com/apache/arrow-datafusion/issues/1074 # Rationale for this change I have code in IOx (https://github.com/influxdata/influxdb_iox/pull/2756) 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 for which I have to use code like this: ```rust let temp_plan = plan_builder.build().unwrap(); let schema = temp_plan.schema(); ``` I would like a function so I can do ```rust let schema = plan_builder.schema(); ``` # What changes are included in this PR? Add `LogicalPlanBuilder::schema()` function # Are there any user-facing changes? Yes there is new function, so it is backwards compatible -- 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]
