yuxuan-luo commented on code in PR #17694:
URL: https://github.com/apache/doris/pull/17694#discussion_r1133416894


##########
fe/fe-core/src/main/java/org/apache/doris/datasource/ExternalCatalog.java:
##########
@@ -240,6 +240,20 @@ public List<String> getDbNames() {
         return listDatabaseNames(null);
     }
 
+    @Override
+    public List<String> getDbNamesOrEmpty() {
+        if (initialized) {

Review Comment:
   > 
   
   Because we don't want to initialize when querying the information_schema 
table, an uninitialized catalog can easily cause the query to time out



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

Reply via email to