Closed
Description
Is your feature request related to a problem or challenge? Please describe what you are trying to do.
Part of #2079, related to #2170
Currently schema adaption is handled within each of the file format specific operators. As described in #2079 this has a number of drawbacks.
Describe the solution you'd like
I would like a SchemaAdapterExec
that can be created with a provided Schema
and a child ExecutionPlan
. It would then adapt the schema of the batches returned by this inner ExecutionPlan
to match the provided Schema
, creating null columns as necessary.
This can likely reuse the existing SchemaAdapter