zhangwl9 commented on issue #3540: URL: https://github.com/apache/amoro/issues/3540#issuecomment-2837778455
As shown in the following figure, the data in the duration column is obtained by calculating duration = System.currentTimeMillis() - currentStatusStartTime. <!-- Failed to upload "image.png" --> However, as shown below, the in-memory value of currentStatusStartTime is in milliseconds like 12.586 s at the system.currentTimeMillis() level  In the table "table_runtime" of MYSQL, the data type of the attribute optimizing_status_start_time ļ¼currentStatusStartTimeļ¼is timestamp, and the precision of this type is at the second level. The above value is saved as 13s in the database. If the Optimizing_Table page is queried at the moment of 12.896 s, the value of "duration" will be calculated as 12.896 - 13 = -0.104s and displayed as -1s. -- 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]
