yujun777 opened a new pull request, #63089: URL: https://github.com/apache/doris/pull/63089
### What problem does this PR solve? Statistics cache may still try to load column statistics, partition column statistics, or histograms for system databases. This is not expected for information_schema, mysql, or the dynamically assigned __internal_schema database. ### Solution - Add a system database check in StatisticConstants. - Reuse the check in StatisticsCache for column statistics, partition statistics, and histograms. - Resolve __internal_schema by looking up the internal catalog DB object so the dynamic db id is covered. ### Check List - [x] FE UT ### Test CUSTOM_MVN=/home/yujun/.sdkman/candidates/maven/current/bin/mvn bash ./run-fe-ut.sh --coverage --run org.apache.doris.statistics.StatisticsCacheTest Result: BUILD SUCCESS. StatisticsCacheTest ran 6 tests with 0 failures and 0 errors. -- 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]
