LuciferYang opened a new issue, #13869: URL: https://github.com/apache/gravitino/issues/13869
### Version main branch ### Describe what's wrong With `gravitino.iceberg-rest.metricsStore=jdbc`, `JDBCMetricsStore` writes three columns with the wrong values: - `added_equality_deletes` and `removed_equality_deletes` in `commit_metrics_report` get `addedEqualityDeleteFiles()` / `removedEqualityDeleteFiles()`, the same file counts that already go into `added_equality_delete_files` and `removed_equality_delete_files`. The record counts are never stored. - `total_duration_ms` in `commit_metrics_report` and `total_planning_duration` in `scan_metrics_report` get `TimerResult.count()`, the number of timed events, which is 1 for every report. The schema scripts describe both as durations in milliseconds. ### Error message and/or stacktrace _No response_ ### How to reproduce Report a commit that adds 5 equality delete files holding 18 delete records and takes 100 seconds. The stored row has `added_equality_deletes = 5` and `total_duration_ms = 1` instead of 18 and 100000. ### Additional context _No response_ -- 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]
