Skip to content

Ability to create Schema with new fields but same everytthing else #6575

Open
@alamb

Description

@alamb

Is your feature request related to a problem or challenge? Please describe what you are trying to do.

It is common downstream to manipulate Schamas in someway, such as to reorder the fields or select a subset of the fields
Schema also contains metadata, and thus care must be taken when creating derivative schemas to call Schema::new_with_metadata
Forgetting to do this has lead to several issues downstream in DataFusion -- see list on apache/datafusion#12733

Describe the solution you'd like
I would like it to be easier to create a Schema with different fields and different properties

Describe alternatives you've considered

Additional context

Metadata

Metadata

Assignees

Labels

arrowChanges to the arrow crateenhancementAny new improvement worthy of a entry in the changelog

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions