feat: string casing functions#6096
Merged
universalmind303 merged 1 commit intoEventual-Inc:mainfrom Feb 3, 2026
Merged
Conversation
Contributor
Greptile OverviewGreptile SummaryThis PR adds seven string case conversion functions ( Implementation Details:
Test Coverage:
The implementation is clean, follows existing patterns, and provides useful string manipulation functionality that complements the existing Confidence Score: 5/5
Important Files Changed
Sequence DiagramsequenceDiagram
participant User
participant DataFrame
participant Expression
participant Functions
participant Rust_UDF
participant Heck
User->>DataFrame: df.select(col("text").to_snake_case())
DataFrame->>Expression: to_snake_case()
Expression->>Functions: to_snake_case(expr)
Functions->>Rust_UDF: _call_builtin_scalar_fn("to_snake_case", expr)
Rust_UDF->>Rust_UDF: ScalarFn::builtin(SnakeCase, vec![input])
Rust_UDF->>Rust_UDF: call(inputs)
Rust_UDF->>Rust_UDF: unary_utf8_evaluate()
Rust_UDF->>Heck: to_snake_case()
Heck-->>Rust_UDF: converted string
Rust_UDF-->>Functions: Series result
Functions-->>Expression: Expression result
Expression-->>DataFrame: Expression result
DataFrame-->>User: DataFrame with converted strings
|
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #6096 +/- ##
===========================================
- Coverage 72.91% 43.42% -29.49%
===========================================
Files 973 910 -63
Lines 126196 112820 -13376
===========================================
- Hits 92016 48996 -43020
- Misses 34180 63824 +29644
🚀 New features to boost your workflow:
|
d0338b9 to
830742a
Compare
universalmind303
approved these changes
Jan 29, 2026
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.
Changes Made
Use heck crate to convert cols and text between string casings.
Related Issues
Closes #2550.