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

lide 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 18b9d6a73dd [fix](hive-catalog) fix issue when read hive table stored 
on tencent OFS (#26960)
18b9d6a73dd is described below

commit 18b9d6a73ddda351bdad97ee6062aa8552b733f1
Author: Yulei-Yang <yulei.yang0...@gmail.com>
AuthorDate: Fri Nov 17 18:29:29 2023 +0800

    [fix](hive-catalog) fix issue when read hive table stored on tencent OFS 
(#26960)
---
 .../main/java/org/apache/doris/planner/external/HiveScanProvider.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/fe/fe-core/src/main/java/org/apache/doris/planner/external/HiveScanProvider.java
 
b/fe/fe-core/src/main/java/org/apache/doris/planner/external/HiveScanProvider.java
index 94d50ebd454..0e25cd10396 100644
--- 
a/fe/fe-core/src/main/java/org/apache/doris/planner/external/HiveScanProvider.java
+++ 
b/fe/fe-core/src/main/java/org/apache/doris/planner/external/HiveScanProvider.java
@@ -126,7 +126,7 @@ public class HiveScanProvider extends HMSTableScanProvider {
             } else if (location.startsWith(FeConstants.FS_PREFIX_FILE)) {
                 return TFileType.FILE_LOCAL;
             } else if (location.startsWith(FeConstants.FS_PREFIX_OFS)) {
-                return TFileType.FILE_BROKER;
+                return TFileType.FILE_HDFS;
             } else if (location.startsWith(FeConstants.FS_PREFIX_GFS)) {
                 return TFileType.FILE_HDFS;
             } else if (location.startsWith(FeConstants.FS_PREFIX_JFS)) {


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

Reply via email to