Skip to content

Add SchemaAdapterExec #2292

Closed
Closed
@tustvold

Description

@tustvold

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

FYI @matthewmturner @thinkharderdev

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions