lgbo-ustc opened a new issue, #11451:
URL: https://github.com/apache/incubator-gluten/issues/11451
### Backend
CH (ClickHouse)
### Bug description
[Expected behavior] and [actual behavior].
We have a query as following
```sql
select * from t1 left join (select * from t2 where day='2026-01-01')
```
The partition `2026-01-01` in `t2` exists, but has no data. `t1` has one
row. The query result has one row for `vanilla`, but is empty for `gluten(ch)`.
The physical plan for gluten is
```
+- == Final Plan ==
CHNativeColumnarToRow (13)
+- ^ ProjectExecTransformer (11)
+- ^ CHBroadcastNestedLoopJoinExecTransformer LeftOuter BuildLeft (10)
:- ^ InputIteratorTransformer (6)
: +- BroadcastQueryStage (4), Statistics(sizeInBytes=27.0 B,
rowCount=1)
: +- ColumnarBroadcastExchange (3)
: +- ^ NativeScan hive t1(1)
+- ^ ProjectExecTransformer (9)
+- ^ FilterExecTransformer (8)
+- ^ NativeScan hive t2(7)
```
the physical plan for vanilla is
```
+- == Final Plan ==
* Project (2)
+- Scan hive t1(1)
```
### Gluten version
_No response_
### Spark version
None
### Spark configurations
_No response_
### System information
_No response_
### Relevant logs
```bash
```
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]