asdf2014 commented on a change in pull request #7334: Add "REVERSE" / "REPEAT" / "RIGHT" / "LEFT" functions URL: https://github.com/apache/incubator-druid/pull/7334#discussion_r273325355
########## File path: core/src/main/java/org/apache/druid/java/util/common/StringUtils.java ########## @@ -360,4 +361,54 @@ public static String encodeBase64String(byte[] input) { return BASE64_DECODER.decode(input); } + + /** + * Returns a string whose value is the concatenation of the + * string {@code str} repeated {@code count} times. + * <p> + * If count or length is zero then the empty string is returned. Review comment: @QiuMM Thanks :+1: ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@druid.apache.org For additional commands, e-mail: commits-h...@druid.apache.org