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

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


The following commit(s) were added to refs/heads/branch-1.2-lts by this push:
     new 5fde1a08b3 [fix](multi-catalog)supported read dlf from properties for 
1.2 (#20722)
5fde1a08b3 is described below

commit 5fde1a08b31b87bdda49664d5ca64841f2a72198
Author: slothever <18522955+w...@users.noreply.github.com>
AuthorDate: Wed Jun 21 21:06:08 2023 +0800

    [fix](multi-catalog)supported read dlf from properties for 1.2 (#20722)
    
    also supported read dlf from properties for 1.2
---
 fe/fe-core/src/main/java/org/apache/doris/catalog/HMSResource.java | 1 +
 1 file changed, 1 insertion(+)

diff --git a/fe/fe-core/src/main/java/org/apache/doris/catalog/HMSResource.java 
b/fe/fe-core/src/main/java/org/apache/doris/catalog/HMSResource.java
index 3c9585bed2..d227da65df 100644
--- a/fe/fe-core/src/main/java/org/apache/doris/catalog/HMSResource.java
+++ b/fe/fe-core/src/main/java/org/apache/doris/catalog/HMSResource.java
@@ -103,6 +103,7 @@ public class HMSResource extends Resource {
         }
         // read properties from hive-site.xml.
         HiveConf hiveConf = new HiveConf();
+        res.forEach(hiveConf::set);
         String metastoreType = hiveConf.get(HIVE_METASTORE_TYPE);
         if (!DLF_TYPE.equalsIgnoreCase(metastoreType)) {
             return res;


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

Reply via email to