danny0405 commented on code in PR #9631:
URL: https://github.com/apache/hudi/pull/9631#discussion_r1318186403


##########
hudi-client/hudi-client-common/src/main/java/org/apache/hudi/client/BaseHoodieWriteClient.java:
##########
@@ -1299,6 +1302,15 @@ public final HoodieTable initTable(WriteOperationType 
operationType, Option<Stri
     // Validate table properties
     metaClient.validateTableProperties(config.getProps());
 
+    initTimer(operationType, table);
+

Review Comment:
   I kind of think we should init the timer in 
`StreamWriteOperatorCoordinator#startInstant()`, and we can have a new method:
   
   ```java
   public void setWriteTimer(String commitType)
   ```



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