Henry2SS commented on code in PR #8919:
URL: https://github.com/apache/incubator-doris/pull/8919#discussion_r850234649
##########
fe/fe-core/src/main/java/org/apache/doris/analysis/AnalyticExpr.java:
##########
@@ -831,6 +831,36 @@ public String toSqlImpl() {
return sb.toString();
}
+ @Override
+ public String toDigestImpl() {
+ StringBuilder sb = new StringBuilder();
+ sb.append(fnCall.toDigest()).append(" OVER (");
Review Comment:
Thx.
I've tested locally, there is a 10% query performance loss. It looks bad.
So decide to put it in `auditAfterExec()` and only for slow queries.
--
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]