[TE] Make PqlUtils method convertAggFunction public for use globally
Allows the source of truth for converting percentile MetricAggFunction types to live in one place
@@ -395,7 +395,7 @@ public class PqlUtils {
* @param aggFunction function enum to convert
* @return a valid pinot function name
*/
- private static String convertAggFunction(MetricAggFunction aggFunction) {
+ public static String convertAggFunction(MetricAggFunction aggFunction) {
if (aggFunction.isPercentile()) {
return aggFunction.name().replaceFirst(MetricAggFunction.PERCENTILE_PREFIX, PERCENTILE_TDIGEST_PREFIX);
}
