linrrzqqq opened a new pull request, #68227:
URL: https://github.com/apache/doris/pull/68227
### What problem does this PR solve?
Issue Number: close #xxx
Related PR: #xxx
Problem Summary:
Queries on `information_schema.table_stream_consumption` always scanned all
streams and partitions, even when predicates such as `DB_NAME`, `STREAM_NAME`,
`STREAM_ID`, or `UNIT` could exclude most of them.
In cloud mode, this also caused unnecessary partition requests to
MetaService.
### What is changed?
- Forward schema-scan predicates from BE to FE for
`table_stream_consumption`.
- Push down `DB_NAME`, `STREAM_NAME`, and `STREAM_ID` predicates before
scanning stream metadata.
- Push down `UNIT` predicates after partition enumeration:
- In cloud mode, only matching partitions are requested from MetaService.
- In non-cloud mode, rows for unmatched partitions are not generated.
--
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]