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

filter kernel should work with FixedSizeListArrays #1434

Merged
merged 4 commits into from
Mar 16, 2022

Conversation

viirya
Copy link
Member

@viirya viirya commented Mar 13, 2022

Which issue does this PR close?

Closes #1393.

Rationale for this change

What changes are included in this PR?

Are there any user-facing changes?

@github-actions github-actions bot added the arrow Changes to the arrow crate label Mar 13, 2022
@codecov-commenter
Copy link

codecov-commenter commented Mar 13, 2022

Codecov Report

Merging #1434 (a3d644f) into master (729934c) will increase coverage by 0.01%.
The diff coverage is 91.78%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1434      +/-   ##
==========================================
+ Coverage   82.67%   82.69%   +0.01%     
==========================================
  Files         185      186       +1     
  Lines       53822    53894      +72     
==========================================
+ Hits        44500    44569      +69     
- Misses       9322     9325       +3     
Impacted Files Coverage Δ
arrow/src/array/transform/fixed_size_list.rs 73.68% <73.68%> (ø)
arrow/src/array/transform/mod.rs 86.40% <83.33%> (+0.09%) ⬆️
arrow/src/array/data.rs 83.15% <100.00%> (ø)
arrow/src/compute/kernels/filter.rs 86.40% <100.00%> (+1.00%) ⬆️
parquet_derive/src/parquet_field.rs 66.21% <0.00%> (+0.22%) ⬆️
arrow/src/datatypes/field.rs 54.10% <0.00%> (+0.30%) ⬆️

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 729934c...a3d644f. Read the comment docs.

@viirya
Copy link
Member Author

viirya commented Mar 13, 2022

cc @alamb

Copy link
Contributor

@alamb alamb left a comment

Choose a reason for hiding this comment

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

Looks good to me -- thanks @viirya

list.as_any().downcast_ref::<Int32Array>().unwrap().values()
);

let filter_array = BooleanArray::from(vec![true, false, true]);
Copy link
Contributor

Choose a reason for hiding this comment

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

👍 for taking something other than the first element

@alamb
Copy link
Contributor

alamb commented Mar 16, 2022

Hi @viirya -- there appear to be some conflicts in this PR now. Can you resolve them so I can get it merged?

@viirya
Copy link
Member Author

viirya commented Mar 16, 2022

Yea, let me resolve the conflicts.

@alamb alamb merged commit 4027166 into apache:master Mar 16, 2022
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.

filter kernel should work with FixedSizeListArrayss
3 participants