-
Notifications
You must be signed in to change notification settings - Fork 181
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[CHORE] Refactor Series downcast and LogicalArrayImpl (#1289)
# Summary 1. Refactors `Series::downcast` to use the concrete array type instead of a DaftDataType 2. Refactors `LogicalArray<L> = LogicalArrayImpl<L, L::PhysicalType::ArrayType>`. The underlying `LogicalArrayImpl` is now generic over both its LogicalType, as well as its underlying container type. Necessary drive-bys: 1. Refactors to `image.rs` which used to make a lot of assumptions about LogicalArrays holding DataArrays 2. Refactor to `::full_null()` and `::empty()`: we now need a generic implementation over all LogicalArray container types and this requires a `FullNull` trait to be used. This paves the way for adding more LogicalArray container types that aren't `DataArray` (Coming soon: FixedSizeListArray, StructArray and more) --------- Co-authored-by: Jay Chia <jaychia94@gmail.com@users.noreply.github.com>
- Loading branch information
Showing
37 changed files
with
335 additions
and
270 deletions.
There are no files selected for viewing
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
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
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
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
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
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
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
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
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
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
Oops, something went wrong.