nsivabalan commented on code in PR #7474:
URL: https://github.com/apache/hudi/pull/7474#discussion_r1050296097
##########
hudi-common/src/main/java/org/apache/hudi/common/model/HoodieKey.java:
##########
@@ -53,6 +53,9 @@ public void setPartitionPath(String partitionPath) {
}
public String getPartitionPath() {
+ if (partitionPath.trim().startsWith("/")) {
Review Comment:
this might be costly to do it for every record key. probably we should do it
elsewhere once.
Also in general, mostly everyone uses out of the box key generators and
hence this was not an issue. this might be a problem only when you use your own
custom key gen.
Curious to know if none of the built in key generators worked for u?
--
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]