yujun777 opened a new pull request, #68298: URL: https://github.com/apache/doris/pull/68298
cherry-pick: #63625 Conflicts are limited to FE test files, because branch-4.2 statistics tests still use JMockit while master has moved to Mockito, and `TableNameInfo`/`PartitionNamesInfo` live in `org.apache.doris.info` on branch-4.2. The test additions were re-expressed in the branch-4.2 idiom; main-source changes are identical to #63625. `testDoSampleAlwaysCollectsHotValue` also stubs `getSampleCollectInfo(..)` with a `SampleCollectInfo` instead of `useLinearAnalyzeTemplate()`, since branch-4.2 `doSample` picks the template through the sample-algorithm decision, and `AnalysisManagerTest` now uses the 4-arg `mockAnalyzeCommand(..)` helper so the Paimon row-count case keeps a non-null `AnalyzeProperties`. FE UT: AnalyzeTableCommandTest, OlapAnalysisTaskTest, AnalysisManagerTest, HMSAnalysisTaskTest, StatisticsUtilTest -- 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]
