voonhous commented on code in PR #18965:
URL: https://github.com/apache/hudi/pull/18965#discussion_r3400902267
##########
hudi-common/src/main/java/org/apache/hudi/metadata/HoodieMetadataPayload.java:
##########
@@ -672,8 +697,8 @@ public static HoodieRecord<HoodieMetadataPayload>
createRecordIndexUpdate(String
fileIndex = Integer.parseInt(fileId.substring(index + 1));
}
} catch (Exception e) {
- throw new HoodieMetadataException(String.format("Invalid UUID or
index: fileID=%s, partition=%s, instantTime=%s",
- fileId, partition, instantTime), e);
+ throw new HoodieMetadataException(String.format("Invalid UUID or
index: fileID=%s, partition=%s, instantTimeMillis=%d",
Review Comment:
I'd argue to keep the `instantTime` as this is what the original error
throws and print. This is a perf improvement PR. Not a refactor or cleanup PR.
--
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]