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

Cleanup: remove some dead / test only code #1331

Merged
merged 1 commit into from
Feb 19, 2022

Conversation

alamb
Copy link
Contributor

@alamb alamb commented Feb 17, 2022

Which issue does this PR close?

Re #1255

Rationale for this change

There was some code discovered by clippy in #1324 that was legitimately dead.

What changes are included in this PR?

Remove a unused / private function and move a function used only by tests to the test module

Are there any user-facing changes?

No

@alamb alamb added the development-process Related to development process of arrow-rs label Feb 17, 2022
/// Compares the null bitmaps of two arrays using a bitwise `or` operation.
///
/// This function is useful when implementing operations on higher level arrays.
#[allow(clippy::unnecessary_wraps)]
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this was only used in the tests, so I moved it to the test module in this file

@alamb alamb mentioned this pull request Feb 17, 2022
@github-actions github-actions bot added the arrow Changes to the arrow crate label Feb 17, 2022
@codecov-commenter
Copy link

Codecov Report

Merging #1331 (22fbfc1) into master (9870533) will increase coverage by 0.00%.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #1331   +/-   ##
=======================================
  Coverage   83.03%   83.03%           
=======================================
  Files         180      180           
  Lines       52919    52915    -4     
=======================================
- Hits        43939    43938    -1     
+ Misses       8980     8977    -3     
Impacted Files Coverage Δ
arrow/src/array/data.rs 83.59% <ø> (+0.29%) ⬆️
arrow/src/compute/util.rs 98.90% <100.00%> (ø)
parquet_derive/src/parquet_field.rs 66.21% <0.00%> (-0.23%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 9870533...22fbfc1. Read the comment docs.

@nevi-me nevi-me merged commit c0351f8 into apache:master Feb 19, 2022
@alamb alamb deleted the alamb/remove_dead_code branch February 28, 2022 19:13
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 development-process Related to development process of arrow-rs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants