j1wonpark opened a new pull request, #4298: URL: https://github.com/apache/amoro/pull/4298
## Why are the changes needed? `TaskRuntime` records the error message when an optimizing task fails, but the failure reason was not copied to `TaskQuota`. As a result, `optimizing_task_quota.fail_reason` was persisted as `NULL`. Fixes #4297. ## Brief change log - Propagate the failure reason from `TaskRuntime` to `TaskQuota`. - Add a regression test for the conversion. ## How was this patch tested? - [x] Added a focused regression test. - [x] Ran the related optimizing queue tests locally. ```shell ./mvnw test -pl amoro-ams -Dtest=TestTaskRuntime ./mvnw test -pl amoro-ams -Dtest=TestTaskRuntime,TestOptimizingQueue ``` ## Documentation - Does this pull request introduce a new feature? no - If yes, how is the feature documented? not applicable -- 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]
