-
Notifications
You must be signed in to change notification settings - Fork 159
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FEAT] add
list.value_counts()
(#2902)
This PR implements the `list.value_counts()` function and refactors Map types to use a more explicit key-value structure. It also includes various improvements and bug fixes across the codebase. ## Key changes 1. **Implemented list.value_counts() function** 2. **Refactored Map type representation** - Updated `DataType` enum in `src/daft-schema/src/dtype.rs` to use explicit key and value types 3. **Improved error handling and type checking** - Enhanced type checking in various parts of the codebase - Improved error messages for better debugging 4. **Performance optimizations** - Refactored some operations to be more efficient, especially in list and map operations 5. **Code cleanup and minor improvements** - Removed unnecessary clones and improved code readability - Updated comments and documentation
- Loading branch information
1 parent
f5cf5af
commit 98dbadb
Showing
53 changed files
with
1,302 additions
and
420 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
[env] | ||
PYO3_PYTHON = "./.venv/bin/python" |
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.