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

Added apply_validity and set_validity to mutable utf8 array #1406

Merged
merged 1 commit into from
Feb 14, 2023

Conversation

Arty-Maly
Copy link
Contributor

This is similar to my previous pr for Utf8Array

I am adding two methods:
set_validity and apply_validity for MutableUtf8Array

This was pretty straightforward to add so I preemptively created a pr without double checking if it is something that would be accepted.

@jorgecarleitao Let me know if this looks good.

@codecov
Copy link

codecov bot commented Feb 14, 2023

Codecov Report

Base: 83.63% // Head: 83.60% // Decreases project coverage by -0.04% ⚠️

Coverage data is based on head (3ab756a) compared to base (3a8da98).
Patch coverage: 78.99% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1406      +/-   ##
==========================================
- Coverage   83.63%   83.60%   -0.04%     
==========================================
  Files         373      373              
  Lines       40284    40299      +15     
==========================================
  Hits        33692    33692              
- Misses       6592     6607      +15     
Impacted Files Coverage Δ
src/io/parquet/read/statistics/mod.rs 87.31% <14.28%> (-1.30%) ⬇️
src/io/parquet/read/deserialize/simple.rs 83.03% <82.35%> (-2.07%) ⬇️
src/array/utf8/mutable.rs 86.43% <90.00%> (+1.09%) ⬆️
src/chunk.rs 83.33% <0.00%> (-7.15%) ⬇️
src/array/utf8/mod.rs 83.98% <0.00%> (-1.18%) ⬇️
src/io/ipc/read/file.rs 96.87% <0.00%> (+0.44%) ⬆️
src/array/binary/mod.rs 94.08% <0.00%> (+1.47%) ⬆️

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 and set_validity to mutable utf8 array Added apply_validity and set_validity to mutable utf8 array Feb 14, 2023
@jorgecarleitao jorgecarleitao added the enhancement An improvement to an existing feature label Feb 14, 2023
@jorgecarleitao jorgecarleitao merged commit ca7f36f into jorgecarleitao:main Feb 14, 2023
@jorgecarleitao
Copy link
Owner

Looks perfect. Thank you!

jorgecarleitao pushed a commit that referenced this pull request Feb 14, 2023
add apply_validity and set_validity to mutable utf8 array

Co-authored-by: artem.malyshev <artem.malyshev@bytedance.com>
jgmartin pushed a commit to jgmartin/arrow2 that referenced this pull request Feb 22, 2023
…leitao#1406)

add apply_validity and set_validity to mutable utf8 array

Co-authored-by: artem.malyshev <artem.malyshev@bytedance.com>
ritchie46 pushed a commit to ritchie46/arrow2 that referenced this pull request Mar 29, 2023
…leitao#1406)

add apply_validity and set_validity to mutable utf8 array

Co-authored-by: artem.malyshev <artem.malyshev@bytedance.com>
ritchie46 pushed a commit to ritchie46/arrow2 that referenced this pull request Apr 5, 2023
…leitao#1406)

add apply_validity and set_validity to mutable utf8 array

Co-authored-by: artem.malyshev <artem.malyshev@bytedance.com>
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