Yukang-Lian opened a new pull request, #67595:
URL: https://github.com/apache/doris/pull/67595

   ### What problem does this PR solve?
   
   Issue Number: None
   
   Related PR: #65869
   
   Problem Summary: Backport #65869 to the `branch-4.0`.
   
   `showJobState` is not persisted. For rollup jobs created without `origStmt`, 
metadata reload returned before reconstructing it, so SHOW ALTER TABLE 
ROLLUP/MATERIALIZED VIEW could dereference a null state. This restores 
`showJobState` before the legacy early return and adds deserialization coverage.
   
   The conflict was limited to branch-specific test imports; the backport 
preserves the branch imports and adds only the required `GsonUtils` dependency.
   
   ### Release note
   
   Restore rollup display state after metadata reload when the persisted job 
has no original statement.
   
   ### Check List (For Author)
   
   - Test: Static validation
       - Changed-file scope and source provenance verified
       - `git diff --check`: passed
       - Focused FE unit test was not run locally; hosted CI is pending
   - Behavior changed: Yes
       - Reconstructs non-persisted rollup display state before the legacy 
early return
   - 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]

Reply via email to