haohuaijin opened a new issue, #20144:
URL: https://github.com/apache/datafusion/issues/20144
### Is your feature request related to a problem or challenge?
for pushdown filter though `UnionExec`, i find only all child in UnionExec
support filter pushdown, the filter will pushdown, otherwise it will not
pushdown. But for below case, pushdown filter is benefit
```
FilterExec: a@0 = foo
UnionExec
DataSourceExec: file_groups={1 group:
[[test.parquet]]},pushdown_supported=true
DataSourceExec: file_groups={1 group:
[[test.parquet]]},pushdown_supported=false
```
### Describe the solution you'd like
support pushdown filter though UnionExec, also even though all child do not
support pushdown filter, we also can pushdown filter under the UnionExec. for
example
```
FilterExec: a@0 = foo
UnionExec
DataSourceExec: file_groups={1 group: [[test.parquet]]},
pushdown_supported=false
DataSourceExec: file_groups={1 group: [[test.parquet]]},
pushdown_supported=false
```
after filter pushdown
```
UnionExec
FilterExec: a@0 = foo
DataSourceExec: file_groups={1 group: [[test.parquet]]},
pushdown_supported=false
FilterExec: a@0 = foo
DataSourceExec: file_groups={1 group: [[test.parquet]]},
pushdown_supported=false
```
### Describe alternatives you've considered
_No response_
### Additional context
_No response_
--
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]