Gabriel39 opened a new pull request, #65782: URL: https://github.com/apache/doris/pull/65782
## Summary - honor Iceberg table metrics configuration when Doris creates data-file metadata - omit all column metrics whose effective Iceberg metrics mode is `none` - add a regression test for `write.metadata.metrics.default=none` ## Root cause Doris collected column statistics in the backend and copied every statistics map into the Iceberg `DataFile` manifest in the frontend. The conversion never consulted the table's `MetricsConfig`, so metadata for disabled columns was persisted even though the physical file statistics were available only as an implementation detail. ## Testing - `./run-fe-ut.sh --run org.apache.doris.datasource.iceberg.helper.IcebergWriterHelperTest` (7 tests passed) - verified the new regression test fails before the production fix and passes after it - `git diff --check` ## Links - Jira: http://39.106.86.136:8090/browse/DORIS-27023 - TeamCity reproduction: http://172.20.48.17:8111/buildConfiguration/Doris_Doris_x64_Master_Trino_Case/201908 -- 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]
