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

morningman pushed a commit to branch branch-c108335-hive-sql
in repository https://gitbox.apache.org/repos/asf/doris.git


The following commit(s) were added to refs/heads/branch-c108335-hive-sql by 
this push:
     new 3c3060ac405 [tmp] add debug log for finding tables
3c3060ac405 is described below

commit 3c3060ac4056409e8ceec2e4113d925e791b62f1
Author: morningman <[email protected]>
AuthorDate: Thu Apr 17 19:45:40 2025 -0700

    [tmp] add debug log for finding tables
---
 .../src/main/java/org/apache/doris/datasource/ExternalDatabase.java     | 2 ++
 1 file changed, 2 insertions(+)

diff --git 
a/fe/fe-core/src/main/java/org/apache/doris/datasource/ExternalDatabase.java 
b/fe/fe-core/src/main/java/org/apache/doris/datasource/ExternalDatabase.java
index 4d0f1fcb22f..f42c2da789f 100644
--- a/fe/fe-core/src/main/java/org/apache/doris/datasource/ExternalDatabase.java
+++ b/fe/fe-core/src/main/java/org/apache/doris/datasource/ExternalDatabase.java
@@ -364,10 +364,12 @@ public abstract class ExternalDatabase<T extends 
ExternalTable>
         if (checkExists && (!FeConstants.runningUnitTest || this instanceof 
TestExternalDatabase)) {
             try {
                 List<String> tblNames = 
Lists.newArrayList(getTableNamesWithLock());
+                LOG.info("yy debug get current table list: {}, localTableName: 
{}", tblNames, localTableName);
                 if (!tblNames.contains(localTableName)) {
                     tblNames = listTableNames().stream()
                             .map(Pair::value)
                             .collect(Collectors.toList());
+                    LOG.info("yy debug get new table list: {}, localTableName: 
{}", tblNames, localTableName);
                     if (!tblNames.contains(localTableName)) {
                         LOG.warn("Table {} does not exist in the remote 
system. Skipping initialization.",
                                 localTableName);


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to