apache / apache/datafusion

Optimize character_length UDF performance

Open
#21,380 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Rust
Stars
9.3k
Forks
2.4k
Avg merge
3d 7h
Merged PRs (30d)
344

Description

### Is your feature request related to a problem or challenge?

Make it faster

### Describe the solution you'd like

We can make it faster by reusing the inlined view length and apply some other micro-optimizations

### Describe alternatives you've considered

_No response_

### Additional context

_No response_

Contributor guide

Open the contributing guide

Research direction

Start by locating the character_length UDF implementation and the inlined view-length handling in DataFusion. Measure its current performance, then verify that reusing the inlined length and applying the proposed micro-optimizations makes the function faster without changing its results.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust, sql
Domain
databases, performance
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.