Conversation
Major upgrade to DataFusion 52 with comprehensive UDF API migration. ## Breaking Changes - Migrated all UDFs from `invoke_batch` to `invoke_with_args` API - Updated function signatures to match DataFusion 52 requirements - Added DynEq and DynHash trait implementations for all UDF structs ## New Features - Created test_utils.rs helper module for UDF testing - Added StringViewArray support for all string operations - Enhanced type compatibility across all function implementations ## Technical Changes - Updated arrow imports to use datafusion::arrow namespace - Fixed aggregate and window function signatures (state_fields, field) - Migrated all 242 tests to new API with helper functions - Added UTF8View type support in executor, flatten, and window functions ## Testing - All 242 tests passing - Build successful - No breaking changes for end users Closes #XX
- Refactor extract_strings_from_array to use Option::map instead of manual if-else pattern - Inline format args in handlers.rs
This file contains hidden or 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
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.
Update DataFusion