stdpain opened a new issue #5503:
URL: https://github.com/apache/incubator-doris/issues/5503
**Describe the bug**
RT
**To Reproduce**
Steps to reproduce the behavior:
1. LINE_ORDER is a table from SSB
2. set memory limit to 4G
3. execute
```
select
count(*)
from
LINE_ORDER_X a
join [broadcast] LINE_ORDER_X b
join [shuffle] LINE_ORDER_X c
where
upper(a.`LO_ORDERKEY`) = upper(b.`LO_ORDERKEY`)
and upper(b.`LO_ORDERKEY`) = upper(c.`LO_ORDERKEY`);
```
4. See BE LOG:
```
- AverageThreadTokens: 1.97
- FragmentCpuTime: 45s358ms
- MemoryLimit: 4.00 GB
- PeakMemoryUsage: 5.80 GB
- PeakReservation: 0
- PeakUsedReservation: 0
- RowsProduced: 150.00M
```
**Expected behavior**
BE should return a memory exceed error
**Additional context**
Later I will Fix it and optimize the memory usage of join stage function
calculation
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]