Skip to content

feat: upgrade to DataFusion 52#39

Merged
sivchari merged 3 commits intomainfrom
feat/datafusion-52-upgrade
Feb 17, 2026
Merged

feat: upgrade to DataFusion 52#39
sivchari merged 3 commits intomainfrom
feat/datafusion-52-upgrade

Conversation

@sivchari
Copy link
Copy Markdown
Owner

@sivchari sivchari commented Feb 13, 2026

Update DataFusion

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
@sivchari sivchari merged commit a35e6b2 into main Feb 17, 2026
5 checks passed
@sivchari sivchari deleted the feat/datafusion-52-upgrade branch February 17, 2026 02:20
@github-actions github-actions bot mentioned this pull request Feb 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant