apache / datafusion

Apache DataFusion SQL Query Engine
https://datafusion.apache.org/
Apache License 2.0
5.21k stars 957 forks source link

For DML plans, `LogicalPlan::schema` returns the input schema instead of output schema #10393

Closed leoyvens closed 1 week ago

leoyvens commented 1 week ago

This inconsistency would typically go unnoticed, unless you call .schema() on a DML logical plan.

Fixed in https://github.com/apache/datafusion/pull/10394