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

Added memmap &[u8] as BooleanArray #1436

Merged
merged 2 commits into from
Mar 22, 2023

Conversation

ritchie46
Copy link
Collaborator

Same a memory mapping a slice returns a PrimitiveArray with a lifetime that is tight to the slice, this adds the functionality for a BooleanArray

@codecov
Copy link

codecov bot commented Mar 17, 2023

Codecov Report

Patch coverage: 95.12% and project coverage change: +0.02 🎉

Comparison is base (db87f71) 83.76% compared to head (c79e8c5) 83.79%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1436      +/-   ##
==========================================
+ Coverage   83.76%   83.79%   +0.02%     
==========================================
  Files         375      375              
  Lines       41024    41064      +40     
==========================================
+ Hits        34364    34408      +44     
+ Misses       6660     6656       -4     
Impacted Files Coverage Δ
src/ffi/mmap.rs 97.45% <93.75%> (-1.40%) ⬇️
src/mmap/array.rs 96.70% <100.00%> (+0.06%) ⬆️

... and 4 files with indirect coverage changes

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 in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@ritchie46
Copy link
Collaborator Author

I don't understand the integration test failure. It seems unrelated.

@ritchie46
Copy link
Collaborator Author

The integration test failure is unrelated.

@jorgecarleitao jorgecarleitao changed the title feat: memmap &[u8] as BooleanArray Added memmap &[u8] as BooleanArray Mar 22, 2023
@jorgecarleitao jorgecarleitao merged commit 95cf5f4 into jorgecarleitao:main Mar 22, 2023
ritchie46 added a commit to ritchie46/arrow2 that referenced this pull request Mar 29, 2023
* feat: memmap bits slice as BooleanArray

* swap cmp
ritchie46 added a commit to ritchie46/arrow2 that referenced this pull request Apr 5, 2023
* feat: memmap bits slice as BooleanArray

* swap cmp
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants