Skip to content

Commit f90ab22

Browse files
authored
(feature)(chat) add aggregate to metric in GroupByCorrector (#225)
1 parent 8e7d224 commit f90ab22

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

chat/core/src/main/java/com/tencent/supersonic/chat/corrector/GroupByCorrector.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,5 +58,7 @@ public void correct(SemanticCorrectInfo semanticCorrectInfo) {
5858
})
5959
.collect(Collectors.toSet());
6060
semanticCorrectInfo.setSql(SqlParserAddHelper.addGroupBy(sql, groupByFields));
61+
62+
addAggregateToMetric(semanticCorrectInfo);
6163
}
6264
}

0 commit comments

Comments
 (0)