AshinGau commented on code in PR #10521:
URL: https://github.com/apache/doris/pull/10521#discussion_r911764266


##########
fe/fe-core/src/main/java/org/apache/doris/analysis/FunctionCallExpr.java:
##########
@@ -936,7 +936,8 @@ public void analyzeImpl(Analyzer analyzer) throws 
AnalysisException {
                                 .checkDbPriv(ConnectContext.get(), dbName, 
PrivPredicate.SELECT)) {
                             
ErrorReport.reportAnalysisException(ErrorCode.ERR_SPECIFIC_ACCESS_DENIED_ERROR, 
"SELECT");
                         }
-                        DatabaseIf db = 
Catalog.getCurrentCatalog().getCurrentDataSource().getDbNullable(dbName);
+                        // TODO(gaoxin): ExternalDatabase not implement udf 
yet.
+                        DatabaseIf db = 
Catalog.getCurrentCatalog().getInternalDataSource().getDbNullable(dbName);

Review Comment:
   support later.



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

Reply via email to