(fix)(headless)Fix updating measure agg doesn't take effect.

This commit is contained in:
jerryjzhang
2025-02-19 18:11:02 +08:00
parent 33268bf3d9
commit 335e1f9ada
3 changed files with 8 additions and 6 deletions

View File

@@ -106,8 +106,6 @@ public class PromptHelper {
}
if (StringUtils.isNotEmpty(metric.getDefaultAgg())) {
metricStr.append(" AGGREGATE '" + metric.getDefaultAgg().toUpperCase() + "'");
} else {
metricStr.append(" AGGREGATE 'NONE'");
}
metricStr.append(">");
metrics.add(metricStr.toString());