Friede80 commented on PR #15135:
URL: https://github.com/apache/datafusion/pull/15135#issuecomment-2711777758
I'm not sure if there are still valid uses of `coerce_union_schema` given
only the set of logical plans, but if we can't change the api of a public
function, it would be easy enough to accomplish this with a wrapper. i.e.
```rust
pub fn coerce_union_schema(inputs: &[Arc<LogicalPlan>]) -> Result<DFSchema> {
coerce_union_schema_with_schema(inputs, inputs[0].schema())
}
pub fn coerce_union_schema_with_schema(inputs: &[Arc<LogicalPlan>],
base_schema: &DFSchemaRef) -> Result<DFSchema> {
...
}
```
--
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]