mirror of
https://github.com/tencentmusic/supersonic.git
synced 2025-12-14 05:43:51 +00:00
[improvement](chat) Fix get metrics error in queryReqConverter (#547)
This commit is contained in:
@@ -289,6 +289,7 @@ public class SqlParserSelectHelper {
|
||||
Set<FieldExpression> orderByFieldExpressions = getOrderByFields(plainSelect);
|
||||
Set<String> collect = orderByFieldExpressions.stream()
|
||||
.map(fieldExpression -> fieldExpression.getFieldName())
|
||||
.filter(Objects::nonNull)
|
||||
.collect(Collectors.toSet());
|
||||
result.addAll(collect);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user