-
Notifications
You must be signed in to change notification settings - Fork 159
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
[CHORE] Implementations of FixedSizeListArray #1281
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jaychia
force-pushed
the
jay/fsl-array-impl
branch
from
August 23, 2023 07:37
931758a
to
39d36a8
Compare
jaychia
force-pushed
the
jay/fsl-array-impl
branch
4 times, most recently
from
August 25, 2023 06:43
5c7487a
to
dc366c0
Compare
Implement SeriesLike for logical fixed size list arrays using same macro Refactor image.rs to remove len() from DaftArrayType trait impl SeriesLike for FixedSizeListArray Cleanup matching logic -- match on ALL Daft types Bugfix: logical serieslike rename
impl cast, rename, to_arrow impl full_null, if_else, to_arrow impl cast from FixedSizeList to FixedShapeImage impl take and slice Switch impl of FixedSizeListArray to always assume padded child impl concat impl filter impl broadcast impl DaftCountAggable impl is_null impl repr Fix nested guard for Series::try_from arrow2 arrays Switch to using arrow2::bitmap::Bitmap for validity Fix FSL->FSL cast More as_arrow cleanups, excluding image.rs
Fixes to finally compile
jaychia
changed the title
[CHORE][WIP] Implementations for FixedSizeListArray
[CHORE] Implementations of FixedSizeListArray
Aug 26, 2023
jaychia
force-pushed
the
jay/fsl-array-impl
branch
from
August 26, 2023 00:56
4b89cd3
to
7527029
Compare
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #1281 +/- ##
===========================================
+ Coverage 74.09% 87.33% +13.23%
===========================================
Files 61 61
Lines 6038 6038
===========================================
+ Hits 4474 5273 +799
+ Misses 1564 765 -799 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
This PR replaces our old arrow-backed
FixedSizeListArray = DataArray<FixedSizeListType>
with a newFixedSizeListArray
struct.In so doing, many changes were required:
FixedSizeListArray
which is our own struct. Now,FixedSizeListType::ArrayType = FixedSizeListArray
.FixedSizeListGrowable
.LogicalArrays
which rely onFixedSizeListArray
as their physical type::PhysicalType = FixedSizeListType
LogicalArrayImpl<L, FixedSizeListArray>
matching.rs
that matches the new semantics forFixedSizeList
(i.e. it is not longer an arrow type)with_match_daft_types
match statement that matches all possible DataTypes, which we use liberally when implementing nested functionality.cast.rs
count
,filter
,from_arrow
,full
,get
,if_else
,image.rs
,len.rs
,list.rs
,list_agg.rs
,null.rs
etc