Repository navigation
Conversation
### What problem does this PR solve? Issue Number: close apache#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
|
Thank you for your contribution to Apache Doris. Please clearly describe your PR:
|
|
run buildall |
TPC-H: Total hot run time: 17082 ms |
TPC-DS: Total hot run time: 82782 ms |
ClickBench: Total hot run time: 14.78 s |
FE Regression Coverage ReportIncrement line coverage |
### What problem does this PR solve? Issue Number: close apache#67109 Related PR: apache#67173 Problem Summary: Sync the branch with the latest master and resolve the overlapping table stream dynamic-schema implementation. Keep the upstream base-table ID lookup and stream LSN support while retaining schema generation under the base-table read lock, explicit failure when the base table is unavailable, and an empty persisted stream schema. ### Release note None ### Check List (For Author) - Test: Unit Test - CreateTableStreamTest - ExplainTableStreamPlanTest - TableStreamBaseTableInfoTest - Behavior changed: No (merge conflict resolution preserves the intended PR behavior) - Does this need documentation: No
|
run buildall |
FE UT Coverage ReportIncrement line coverage |
|
run buildall |
FE UT Coverage ReportIncrement line coverage |
|
run buildall |
FE UT Coverage ReportIncrement line coverage |
FE Regression Coverage ReportIncrement line coverage |
1 similar comment
FE Regression Coverage ReportIncrement line coverage |
FE Regression Coverage ReportIncrement line coverage |
TPC-H: Total hot run time: 16953 ms |
TPC-DS: Total hot run time: 82736 ms |
ClickBench: Total hot run time: 14.85 s |
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)
CreateTableStreamTestExplainTableStreamPlanTestTableStreamBaseTableInfoTest