Skip to content
This repository has been archived by the owner on Feb 18, 2024. It is now read-only.

Added Utf8Array::apply_validity #1367

Merged
merged 1 commit into from
Jan 18, 2023

Conversation

Arty-Maly
Copy link
Contributor

I added an apply_validity function to the Utf8Array. Basically I just copied the functionality from PrimitiveArray. If there is a better way of doing this Im open to suggestions.

I also was not sure where to put the test for it, so I added it in the same file under a test module.

@Arty-Maly
Copy link
Contributor Author

@jorgecarleitao Let me know if I can improve anything.

@codecov
Copy link

codecov bot commented Jan 18, 2023

Codecov Report

Base: 83.34% // Head: 83.36% // Increases project coverage by +0.01% 🎉

Coverage data is based on head (e815e13) compared to base (70571d6).
Patch coverage: 75.00% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1367      +/-   ##
==========================================
+ Coverage   83.34%   83.36%   +0.01%     
==========================================
  Files         371      371              
  Lines       40317    40321       +4     
==========================================
+ Hits        33604    33613       +9     
+ Misses       6713     6708       -5     
Impacted Files Coverage Δ
src/array/utf8/mod.rs 85.80% <75.00%> (-0.15%) ⬇️
src/io/ipc/read/stream_async.rs 76.02% <0.00%> (ø)
src/array/binary/mod.rs 92.12% <0.00%> (+1.18%) ⬆️
src/io/ipc/read/array/boolean.rs 98.11% <0.00%> (+5.66%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@jorgecarleitao jorgecarleitao changed the title Add apply_validity function to utf8array struct Added Utf8Array::apply_validity Jan 18, 2023
@jorgecarleitao jorgecarleitao added the enhancement An improvement to an existing feature label Jan 18, 2023
@jorgecarleitao jorgecarleitao merged commit ca14ef0 into jorgecarleitao:main Jan 18, 2023
ritchie46 pushed a commit to ritchie46/arrow2 that referenced this pull request Mar 29, 2023
ritchie46 pushed a commit to ritchie46/arrow2 that referenced this pull request Apr 5, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement An improvement to an existing feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants