suvodeep-pyne commented on a change in pull request #5740: URL: https://github.com/apache/incubator-pinot/pull/5740#discussion_r459684283
########## File path: thirdeye/thirdeye-pinot/src/main/java/org/apache/pinot/thirdeye/detection/yaml/translator/DetectionConfigTranslator.java ########## @@ -189,6 +190,7 @@ private DetectionConfigDTO generateDetectionConfig(Map<String, Object> yamlConfi config.setCron(cron); config.setActive(MapUtils.getBooleanValue(yamlConfigMap, PROP_ACTIVE, true)); config.setYaml(yamlConfig); + config.setBackfillStart(parseTimeStampLong(yamlConfigMap.get(PROP_BACKFILL_START))); Review comment: I found `org.apache.pinot.thirdeye.detection.ConfigUtils#getLongs(java.util.Collection<java.lang.Number>)` but that takes a list and has a slightly different behavior which would require me to have a separate method anyway. Are you aware of any other utility? Please do share if you find something. ---------------------------------------------------------------- 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 --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org For additional commands, e-mail: commits-h...@pinot.apache.org