yiguolei commented on code in PR #17812: URL: https://github.com/apache/doris/pull/17812#discussion_r1138259695
########## fe/fe-core/src/main/java/org/apache/doris/analysis/CreateFunctionStmt.java: ########## @@ -175,14 +175,19 @@ public Expr getOriginFunction() { public void analyze(Analyzer analyzer) throws UserException { super.analyze(analyzer); - analyzeCommon(analyzer); - // check - if (isAggregate) { - analyzeUda(); - } else if (isAlias) { - analyzeAliasFunction(); - } else { - analyzeUdf(); + // https://github.com/apache/doris/issues/17810 + // this error report in P0 test, so we suspect that it is related to concurrency + // add this change to test it. + synchronized (CreateFunctionStmt.class) { Review Comment: If we release doris 2.0 now, this code will be released. It may cause FE analysis time very long.... I think you could using Config.use_fuzzy_session_variable to control that the sychronized logic only work in github workflow. -- 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: commits-unsubscr...@doris.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org