yihua commented on code in PR #11748:
URL: https://github.com/apache/hudi/pull/11748#discussion_r1712013942


##########
hudi-flink-datasource/hudi-flink/src/main/java/org/apache/hudi/util/StreamerUtil.java:
##########
@@ -314,7 +314,7 @@ public static boolean partitionExists(String tablePath, 
String partitionPath, or
    * Generates the bucket ID using format {partition path}_{fileID}.
    */
   public static String generateBucketKey(String partitionPath, String fileId) {
-    return String.format("%s_%s", partitionPath, fileId);
+    return partitionPath + "_" + fileId;

Review Comment:
   If you want the best micro performance strictly, `StringBuilder` should be 
used.



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