Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Field::remove(), Schema::remove(), and RecordBatch::remove_column() APIs #4959

Merged
merged 8 commits into from
Oct 26, 2023

Conversation

Folyd
Copy link
Contributor

@Folyd Folyd commented Oct 19, 2023

Close #4952

@github-actions github-actions bot added the arrow Changes to the arrow crate label Oct 19, 2023
@tustvold
Copy link
Contributor

tustvold commented Oct 20, 2023

Left some comments, I think for all of these we should also add docs recommending people use SchemaBuilder if they are looking to remove multiple columns, as this will save allocations

Folyd and others added 5 commits October 21, 2023 10:44
Co-authored-by: Raphael Taylor-Davies <1781103+tustvold@users.noreply.github.com>
Co-authored-by: Raphael Taylor-Davies <1781103+tustvold@users.noreply.github.com>
arrow-schema/src/fields.rs Outdated Show resolved Hide resolved
arrow-schema/src/schema.rs Outdated Show resolved Hide resolved
arrow-schema/src/schema.rs Outdated Show resolved Hide resolved
Co-authored-by: Raphael Taylor-Davies <1781103+tustvold@users.noreply.github.com>
@Folyd Folyd changed the title Add Field::remove(), Schema::remove_field(), and RecordBatch::remove_column() APIs Add Field::remove(), Schema::remove(), and RecordBatch::remove_column() APIs Oct 26, 2023
@tustvold tustvold merged commit 5601b7a into apache:master Oct 26, 2023
26 checks passed
@Folyd Folyd deleted the remove-field branch October 26, 2023 15:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
arrow Changes to the arrow crate
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support RecordBatch::remove_column() and Schema::remove_field()
2 participants