apache / apache/datafusion

Join should report total_byte_size

Open
#24,537 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?

Currently joins don't propagate `total_byte_size` even though they have estimates on the cardinality

### Describe the solution you'd like

Propagate this info based on the output projection.

### Describe alternatives you've considered

_No response_

### Additional context

_No response_

Contributor guide

Open the contributing guide

Research direction

Start by locating the join cardinality-estimation logic and the code that propagates `total_byte_size` through output projections. Trace how join estimates are built, then verify that the reported byte size reflects the projected output and add or update focused tests for the resulting estimate.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
databases
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.