HappenLee commented on code in PR #19824:
URL: https://github.com/apache/doris/pull/19824#discussion_r1199923079


##########
fe/fe-core/src/main/java/org/apache/doris/analysis/DescribeStmt.java:
##########
@@ -199,7 +200,11 @@ public void analyze(Analyzer analyzer) throws 
UserException {
                             // Extra string (aggregation and bloom filter)
                             List<String> extras = Lists.newArrayList();
                             if (column.getAggregationType() != null) {
-                                extras.add(column.getAggregationType().name());
+                                if (column.getAggregationType() == 
AggregateType.GENERIC_AGGREGATION) {

Review Comment:
   a new virtual getAggregationString do:
   1. type check
   2. get right string



-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to