Yukang-Lian opened a new pull request, #66739:
URL: https://github.com/apache/doris/pull/66739
### What problem does this PR solve?
Issue Number: None
Related PR: #65859
Problem Summary: Cloud Table Stream read state is installed only for the
complete statement plan. The previous implementation expressed that lifecycle
by changing the global rewrite pipeline and by teaching the generic
empty-partition rule about Cloud Stream state. This PR restores the normal
rewrite order, keeps `PruneEmptyPartition` generic, and localizes the readiness
check in the Stream wrapper and normalization rule. A temporary MV plan keeps
all candidate partitions and skips normalization until read state is available;
the final statement plan then normalizes normally. Non-Cloud behavior is
unchanged.
### Release note
None
### Check List (For Author)
- Test: Unit Test
- `InsertIntoTableCommandTableStreamTest`
- `ExplainTableStreamPlanTest`
- Behavior changed: No. This is a behavior-preserving refactor of rewrite
state handling.
- Does this need documentation: No
--
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]