nsivabalan commented on code in PR #7037:
URL: https://github.com/apache/hudi/pull/7037#discussion_r1015084533
##########
hudi-client/hudi-client-common/src/main/java/org/apache/hudi/table/action/BaseActionExecutor.java:
##########
@@ -58,7 +59,7 @@ public BaseActionExecutor(HoodieEngineContext context,
HoodieWriteConfig config,
*/
protected final void writeTableMetadata(HoodieCommitMetadata metadata,
String actionType) {
table.getMetadataWriter(instantTime).ifPresent(w -> w.update(
- metadata, instantTime, table.isTableServiceAction(actionType)));
+ metadata, instantTime, table.isTableServiceAction(new
HoodieInstant(HoodieInstant.State.INFLIGHT, actionType, instantTime))));
Review Comment:
we need entire HoodieInstant to get the clstuering plan. so not sure what
other option we have. If you have any solution, let me know. happy to
incorporate.
--
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]