bd2019us opened a new issue #4115: performance bug for misuse of String.replaceAll() URL: https://github.com/apache/incubator-pinot/issues/4115 Location: (1) pinot-common/src/main/java/org/apache/pinot/pql/parsers/Pql2AstListener.java (2) thirdeye/thirdeye-hadoop/src/main/java/org/apache/pinot/thirdeye/hadoop/push/DeleteOverlappingSegmentsInPinot.java The string to be replaced is plain string, which does not need to be pre-compiled. Therefore, the method call of String.replaceAll() should be changed to replace() for better performance.
---------------------------------------------------------------- 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: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
