You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by mo...@apache.org on 2022/04/18 11:57:51 UTC

[incubator-doris] 12/17: [fix](show-function) fix bug for show function (#9025)

This is an automated email from the ASF dual-hosted git repository.

morningman pushed a commit to branch dev-1.0.1
in repository https://gitbox.apache.org/repos/asf/incubator-doris.git

commit aa616a6f7a4f2a15221ef195c5b6296e806082ea
Author: pengxiangyu <di...@163.com>
AuthorDate: Fri Apr 15 15:18:20 2022 +0800

    [fix](show-function) fix bug for show function (#9025)
    
    show full function
    result has an error:
    INIT_FN and UPDATE_FN is wrong
---
 .../src/main/java/org/apache/doris/catalog/AggregateFunction.java     | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/fe/fe-core/src/main/java/org/apache/doris/catalog/AggregateFunction.java b/fe/fe-core/src/main/java/org/apache/doris/catalog/AggregateFunction.java
index bc59188867..8f35805523 100644
--- a/fe/fe-core/src/main/java/org/apache/doris/catalog/AggregateFunction.java
+++ b/fe/fe-core/src/main/java/org/apache/doris/catalog/AggregateFunction.java
@@ -442,8 +442,8 @@ public class AggregateFunction extends Function {
         }
 
         sb.append(" PROPERTIES (")
-                .append("\n  \"INIT_FN\"=\"" + getUpdateFnSymbol() + "\"")
-                .append(",\n  \"UPDATE_FN\"=\"" + getInitFnSymbol() + "\"")
+                .append("\n  \"INIT_FN\"=\"" + getInitFnSymbol() + "\"")
+                .append(",\n  \"UPDATE_FN\"=\"" + getUpdateFnSymbol() + "\"")
                 .append(",\n  \"MERGE_FN\"=\"" + getMergeFnSymbol() + "\"");
         if (getSerializeFnSymbol() != null) {
             sb.append(",\n  \"SERIALIZE_FN\"=\"" + getSerializeFnSymbol() + "\"");


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org