apache / apache/gluten

[Core] With AQE disable, join tables reordering works wrong

Open
#7,108 2 comments 0 reactions 0 assignees View on GitHub
bug triage
Dominant language
Scala
Stars
1.6k
Forks
657
Avg merge
2d 14h
Merged PRs (30d)
80

Description

### Backend

CH (ClickHouse)

### Bug description

[Expected behavior] and [actual behavior].

We have a sql as following
```sql
select t1 left join t2 on t1.a = t2.a
```
`t2` only contains less then 100 rows, the final plan uses `t1` as the build side table. It causes OOM

### Spark version

None

### Spark configurations

_No response_

### System information

_No response_

### Relevant logs

_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.