luwei16 opened a new pull request, #67130:
URL: https://github.com/apache/doris/pull/67130
### What problem does this PR solve?
Issue Number: close #67109
Related PR: N/A
Problem Summary: Table Streams persisted a copy of their base table schema
at creation time. Light schema changes updated the base table but left Stream
metadata stale. Keep the persisted Stream schema empty, derive every Stream
schema API from the current base table under its read lock, and fail explicitly
when the base table is unavailable.
### Release note
Table Stream metadata now follows the current base table schema after
supported schema changes.
### Check List (For Author)
- Test: Unit Test
- `CreateTableStreamTest`
- `ExplainTableStreamPlanTest`
- `TableStreamBaseTableInfoTest`
- Behavior changed: Yes (Table Stream schema metadata is derived dynamically
from the base table.)
- 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]