voonhous commented on code in PR #18965:
URL: https://github.com/apache/hudi/pull/18965#discussion_r3407501898


##########
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:
   Can we keep instantTimeMillis? Our initial worry was that timezone issues 
will cause inconsistencies. Sure, i removed that, but we still a way to 
attribute which instant this filegroup belongs to right? WIthout the instant, 
this error message is useless.
   
   The attribution is trivial. Users can match via the minutes, seconds and 
milliseconds field after converting the `instantTimeMillis` to whatever 
timezone anyways. The odds of clashing should not be THAT high after looking at 
a filegroup. 



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