rahil-c commented on code in PR #13735:
URL: https://github.com/apache/hudi/pull/13735#discussion_r2366284630
##########
hudi-client/hudi-client-common/src/main/java/org/apache/hudi/client/BaseHoodieWriteClient.java:
##########
@@ -1335,7 +1335,7 @@ protected void doInitTable(WriteOperationType
operationType, HoodieTableMetaClie
ownerInstant =
Option.of(metaClient.createNewInstant(HoodieInstant.State.INFLIGHT,
CommitUtils.getCommitActionType(operationType,
metaClient.getTableType()), instantTime.get()));
}
- boolean requiresInitTable = needsUpgrade(metaClient) ||
config.isMetadataTableEnabled();
+ boolean requiresInitTable = UpgradeDowngrade.needsUpgrade(metaClient,
config, config.getWriteVersion()) || config.isMetadataTableEnabled();
Review Comment:
same as above
--
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]