codope commented on code in PR #11597:
URL: https://github.com/apache/hudi/pull/11597#discussion_r1691466848
##########
hudi-common/src/main/java/org/apache/hudi/metadata/MetadataPartitionType.java:
##########
@@ -137,6 +148,10 @@ public String getFileIdPrefix() {
return fileIdPrefix;
}
+ public int getRecordType(String key) {
+ return recordType;
Review Comment:
only used for FILES because FILES partition has two different record types.
I have added another method without the key argument as suggested by @bvaradar
so that we don't have to pass empty string all the time.
--
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]