Yukang-Lian opened a new pull request, #65869: URL: https://github.com/apache/doris/pull/65869
## What changed - Restore `showJobState` before the `origStmt == null` early return in `RollupJobV2.gsonPostProcess()`. - Add regression coverage for deserializing a persisted rollup job without `origStmt`. ## Why `showJobState` is not persisted. For rollup jobs created by `ALTER TABLE ... ADD ROLLUP`, `origStmt` can be null, so FE metadata reload returned before reconstructing `showJobState`. A subsequent `SHOW ALTER TABLE ROLLUP` or `SHOW ALTER TABLE MATERIALIZED VIEW` could then dereference a null state. Fixes DORIS-27330. ## Validation - `./run-fe-ut.sh --run 'org.apache.doris.alter.RollupJobV2Test#testDeserializeOldRollupJobWithoutOrigStmt'` - `./run-fe-ut.sh --run 'org.apache.doris.alter.RollupJobV2Test'` - `git diff --check` -- 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]
