Kikyou1997 commented on code in PR #9303:
URL: https://github.com/apache/incubator-doris/pull/9303#discussion_r861137188
##########
fe/fe-core/src/main/java/org/apache/doris/analysis/AggregateInfo.java:
##########
@@ -341,6 +341,12 @@ public AggregateInfo getMergeAggInfo() {
public boolean isMerge() { return aggPhase_.isMerge(); }
public boolean isDistinctAgg() { return secondPhaseDistinctAggInfo_ !=
null; }
+
+ public boolean isMetaScan() {
+ return aggregateExprs_.size() > 0 &&
+
aggregateExprs_.get(0).getFn().getFunctionName().getFunction().equals(FunctionSet.DICT);
Review Comment:
add check logic in the analyze phase of SelectStmt, if user do so, FE will
throw a AnalysisException
--
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]