wu-sheng commented on a change in pull request #4353: Optimizing performance reduces es index queries scope by timebucket URL: https://github.com/apache/skywalking/pull/4353#discussion_r378088298
########## File path: oap-server/server-core/src/main/java/org/apache/skywalking/oap/server/core/query/DurationUtils.java ########## @@ -213,4 +213,36 @@ private DateTime parseToDateTime(Downsampling downsampling, long time) { } throw new UnexpectedException("Unexpected downsampling: " + downsampling.name()); } + + public DateTime startTimeBucket2DateTime(Downsampling downsampling, long startTB) { Review comment: Why do you need to add? The current prefix should be enough. `2020021015`-`2020021315` to days is 20200210`-`20200213` Do I miss anything? ---------------------------------------------------------------- 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