apache / apache/datafusion

Optimize performance of `ByteViewGroupValueBuilder` on batches with inlined views

Open
#16,330 2 comments 1 reaction 1 assignee Claimed by @Rachelint View on GitHub
enhancement performance
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?

Currently a large part of view performance

`do_append_val_inner`
`do_equal_to_inner`

and others

is spent rebuilding the views, checking if they can be inlined, etc..

This is wasteful if there is no data buffer, in which case we can improve the performance.

### Describe the solution you'd like

Optimize / specialize the code for only inlined view arrays (i.e. without data buffer).

### Describe alternatives you've considered

_No response_

### Additional context

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.