lintingbin commented on code in PR #3273:
URL: https://github.com/apache/amoro/pull/3273#discussion_r1964936857


##########
amoro-ams/src/test/java/org/apache/amoro/server/optimizing/maintainer/TestDataExpire.java:
##########
@@ -591,6 +592,7 @@ protected static Map<String, String> getDefaultProp() {
     prop.put(TableProperties.ENABLE_DATA_EXPIRATION, "true");
     prop.put(TableProperties.DATA_EXPIRATION_FIELD, "op_time");
     prop.put(TableProperties.DATA_EXPIRATION_RETENTION_TIME, "1d");
+    prop.put("write.metadata.metrics.default", "none");

Review Comment:
   During debugging, I found that the relevant configuration for metrics was 
not correctly passed when writing Parquet files, leading to "none" not taking 
effect. However, in my production environment, there is no issue.
   
   <img width="1432" alt="image" 
src="https://github.com/user-attachments/assets/b935ad1b-4640-48ce-9995-ba28576757de";
 />
   <img width="1134" alt="image" 
src="https://github.com/user-attachments/assets/b82a8843-cb15-4a51-9277-fe4ae1b1c542";
 />
   



-- 
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]

Reply via email to